aboutsummaryrefslogtreecommitdiff
path: root/packages/astro-parser/src/parse/state/text.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/astro-parser/src/parse/state/text.ts')
-rw-r--r--packages/astro-parser/src/parse/state/text.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/packages/astro-parser/src/parse/state/text.ts b/packages/astro-parser/src/parse/state/text.ts
index 020d066fd..dec284ae4 100644
--- a/packages/astro-parser/src/parse/state/text.ts
+++ b/packages/astro-parser/src/parse/state/text.ts
@@ -1,6 +1,5 @@
// @ts-nocheck
-import { decode_character_references } from '../utils/html.js';
import { Parser } from '../index.js';
export default function text(parser: Parser) {
@@ -25,7 +24,7 @@ export default function text(parser: Parser) {
end: parser.index,
type: 'Text',
raw: data,
- data: decode_character_references(data),
+ data,
};
parser.current().children.push(node);