summaryrefslogtreecommitdiff
path: root/packages/astro-parser/src
diff options
context:
space:
mode:
authorGravatar natemoo-re <natemoo-re@users.noreply.github.com> 2021-05-26 18:31:27 +0000
committerGravatar GitHub Actions <actions@github.com> 2021-05-26 18:31:27 +0000
commit5fa7e354b3e66ea95b2c210f51cc2517897bf8f0 (patch)
treed8bbe3764e006c147d5198d53ec1d126bde75379 /packages/astro-parser/src
parent643c880f280c3f571a022b6f4d40b6d5a0e911b5 (diff)
downloadastro-5fa7e354b3e66ea95b2c210f51cc2517897bf8f0.tar.gz
astro-5fa7e354b3e66ea95b2c210f51cc2517897bf8f0.tar.zst
astro-5fa7e354b3e66ea95b2c210f51cc2517897bf8f0.zip
[ci] yarn format
Diffstat (limited to 'packages/astro-parser/src')
-rw-r--r--packages/astro-parser/src/parse/utils/html.ts33
1 files changed, 1 insertions, 32 deletions
diff --git a/packages/astro-parser/src/parse/utils/html.ts b/packages/astro-parser/src/parse/utils/html.ts
index 3b406c9cc..e4669a2db 100644
--- a/packages/astro-parser/src/parse/utils/html.ts
+++ b/packages/astro-parser/src/parse/utils/html.ts
@@ -3,38 +3,7 @@
import entities from './entities.js';
const windows_1252 = [
- 8364,
- 129,
- 8218,
- 402,
- 8222,
- 8230,
- 8224,
- 8225,
- 710,
- 8240,
- 352,
- 8249,
- 338,
- 141,
- 381,
- 143,
- 144,
- 8216,
- 8217,
- 8220,
- 8221,
- 8226,
- 8211,
- 8212,
- 732,
- 8482,
- 353,
- 8250,
- 339,
- 157,
- 382,
- 376,
+ 8364, 129, 8218, 402, 8222, 8230, 8224, 8225, 710, 8240, 352, 8249, 338, 141, 381, 143, 144, 8216, 8217, 8220, 8221, 8226, 8211, 8212, 732, 8482, 353, 8250, 339, 157, 382, 376,
];
const entity_pattern = new RegExp(`&(#?(?:x[\\w\\d]+|\\d+|${Object.keys(entities).join('|')}))(?:;|\\b)`, 'g');