diff options
| author | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 19:20:16 +0200 |
|---|---|---|
| committer | Anhgelus Morhtuuzh <william@herges.fr> | 2026-04-30 19:20:16 +0200 |
| commit | a9e8d0e9c929bec830b086e473ef1362e1f873d9 (patch) | |
| tree | 9ff2e2c2f49f5ca918c976dde000e0ee61a7b8bf /src/paragraph.zig | |
| parent | a36f5482ad90d6899d56e016666a2ca09240abd6 (diff) | |
refactor(typst): generalize template
Diffstat (limited to 'src/paragraph.zig')
| -rw-r--r-- | src/paragraph.zig | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/paragraph.zig b/src/paragraph.zig index 5395082..82433b5 100644 --- a/src/paragraph.zig +++ b/src/paragraph.zig @@ -51,8 +51,8 @@ test "parse paragraphs" { try doTest(parse, alloc, "[](bar)", "<p><a href=\"bar\">bar</a></p>"); try doTest(parse, alloc, "[foo](bar)", "<p><a href=\"bar\">foo</a></p>"); try doTest(parse, alloc, "hello [foo](bar) world", "<p>hello <a href=\"bar\">foo</a> world</p>"); - try doTestMath(parse, alloc, "$x$", "<p>" ++ @embedFile("data/test_content_1.svg") ++ "</p>"); - try doTestMath(parse, alloc, "$x^2$", "<p>" ++ @embedFile("data/test_content_2.svg") ++ "</p>"); + try doTestMath(parse, alloc, "$x$", "<p>" ++ @embedFile("data/content_1.svg") ++ "</p>"); + try doTestMath(parse, alloc, "$x^2$", "<p>" ++ @embedFile("data/content_2.svg") ++ "</p>"); try doTestError(parse, alloc, "hello *world", Error.ModifierNotClosed); try doTestError(parse, alloc, "hello *wo_rld*", Error.ModifierNotClosed); |
