diff --git a/src/experiment/transform.ts b/src/experiment/transform.ts index 06c8da5..f7c6258 100644 --- a/src/experiment/transform.ts +++ b/src/experiment/transform.ts @@ -102,7 +102,7 @@ export function transform(content: string, options?: TransformOptions) { .use(yfmTable) .use(textJoinFix) .use(term) - .disable(['entity']); + .disable(['entity', 'html_block']); const allTokens = mdIt.parse(mdData, {}); diff --git a/src/integration/__snapshots__/index.spec.ts.snap b/src/integration/__snapshots__/index.spec.ts.snap index f479afc..92768d2 100644 --- a/src/integration/__snapshots__/index.spec.ts.snap +++ b/src/integration/__snapshots__/index.spec.ts.snap @@ -1200,9 +1200,7 @@ exports[`integration handles links with brackets: xliff main 1`] = ` exports[`integration handles liquid in html attributes: skeleton expr 1`] = ` "# %%%1%%% - -Button -" +%%%2%%%" `; exports[`integration handles liquid in html attributes: skeleton main 1`] = ` @@ -1226,6 +1224,9 @@ exports[`integration handles liquid in html attributes: xliff expr 1`] = ` Variable in href attribute + + Button + "