mirror of
https://github.com/withastro/astro.git
synced 2024-12-23 21:53:55 -05:00
[ci] format
This commit is contained in:
parent
f91615f5c0
commit
01ef1e565b
2 changed files with 5 additions and 5 deletions
|
@ -93,7 +93,7 @@ export function chunkToByteArray(
|
|||
if (chunk instanceof Uint8Array) {
|
||||
return chunk as Uint8Array;
|
||||
}
|
||||
// stringify chunk might return a HTMLString
|
||||
let stringified = stringifyChunk(result, chunk);
|
||||
// stringify chunk might return a HTMLString
|
||||
let stringified = stringifyChunk(result, chunk);
|
||||
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') {
|
||||
yield html;
|
||||
} else if(html && html.length > 0) {
|
||||
} else if (html && html.length > 0) {
|
||||
yield markHTMLString(html.replace(/\<\/?astro-slot\>/g, ''));
|
||||
} else {
|
||||
yield '';
|
||||
}
|
||||
yield '';
|
||||
}
|
||||
})();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue