[ci] format
This commit is contained in:
parent
1126c750ed
commit
a784e603a9
2 changed files with 5 additions and 5 deletions
|
@ -93,7 +93,7 @@ export function chunkToByteArray(
|
||||||
if (chunk instanceof Uint8Array) {
|
if (chunk instanceof Uint8Array) {
|
||||||
return chunk as Uint8Array;
|
return chunk as Uint8Array;
|
||||||
}
|
}
|
||||||
// stringify chunk might return a HTMLString
|
// stringify chunk might return a HTMLString
|
||||||
let stringified = stringifyChunk(result, chunk);
|
let stringified = stringifyChunk(result, chunk);
|
||||||
return encoder.encode(stringified.toString());
|
return encoder.encode(stringified.toString());
|
||||||
}
|
}
|
||||||
|
|
|
@ -261,11 +261,11 @@ If you're still stuck, please open an issue on GitHub or join us at https://astr
|
||||||
|
|
||||||
if (isPage || renderer?.name === 'astro:jsx') {
|
if (isPage || renderer?.name === 'astro:jsx') {
|
||||||
yield html;
|
yield html;
|
||||||
} else if(html && html.length > 0) {
|
} else if (html && html.length > 0) {
|
||||||
yield markHTMLString(html.replace(/\<\/?astro-slot\>/g, ''));
|
yield markHTMLString(html.replace(/\<\/?astro-slot\>/g, ''));
|
||||||
} else {
|
} else {
|
||||||
yield '';
|
yield '';
|
||||||
}
|
}
|
||||||
})();
|
})();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue