diff options
author | 2021-11-10 23:35:37 +0000 | |
---|---|---|
committer | 2021-11-10 23:35:37 +0000 | |
commit | bb1fa3e8970019f4757f253e918784031dbb83e5 (patch) | |
tree | 33260a4027cfc5edc81bb0e377c4e3cba1771cd8 | |
parent | 7eaabbb0e107790c0812e56bc5bb24b665c951d5 (diff) | |
download | astro-bb1fa3e8970019f4757f253e918784031dbb83e5.tar.gz astro-bb1fa3e8970019f4757f253e918784031dbb83e5.tar.zst astro-bb1fa3e8970019f4757f253e918784031dbb83e5.zip |
[ci] yarn format
-rw-r--r-- | packages/astro/src/runtime/server/index.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/astro/src/runtime/server/index.ts b/packages/astro/src/runtime/server/index.ts index 2a5543d49..f748e73ff 100644 --- a/packages/astro/src/runtime/server/index.ts +++ b/packages/astro/src/runtime/server/index.ts @@ -208,7 +208,7 @@ export function createAstro(fileURLStr: string, site: string): TopLevelAstro { }; } -const toAttributeString = (value: any) => String(value).replace(/&/g, '&').replace(/"/g, '"') +const toAttributeString = (value: any) => String(value).replace(/&/g, '&').replace(/"/g, '"'); // A helper used to turn expressions into attribute key/value export function addAttribute(value: any, key: string) { |