[FIX] blockdom: fix t-set-slot causing context capture with xml

This is a commit message.
This commit is contained in:
Samuel Degueldre
2024-01-10 10:20:14 +01:00
parent 70101e4c66
commit 3975a961ce
8 changed files with 115 additions and 94 deletions
+4 -1
View File
@@ -1,4 +1,7 @@
import { ASTType, parse } from "../../src/compiler/parser";
import { parseXML } from "../../src/common/utils";
import { ASTType, parse as _parse } from "../../src/compiler/parser";
const parse = (template: string) => _parse(parseXML(`<t>${template}</t>`).firstChild as Element);
describe("qweb parser", () => {
// ---------------------------------------------------------------------------