Skip to content
This repository was archived by the owner on Jun 20, 2024. It is now read-only.

Commit b0cd0e3

Browse files
committed
Fixup mode passing
1 parent 92c284d commit b0cd0e3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/parser/stage-2-ast.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -602,7 +602,7 @@ export function toLiquidHtmlAST(
602602
mode: 'tolerant',
603603
},
604604
): DocumentNode {
605-
const cst = toLiquidHtmlCST(source);
605+
const cst = toLiquidHtmlCST(source, { mode: options.mode });
606606
const root: DocumentNode = {
607607
type: NodeTypes.Document,
608608
source: source,

0 commit comments

Comments
 (0)