diff --git a/CHANGELOG.md b/CHANGELOG.md index 7af8e10..00e17d5 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ same stability guarantee. ## [Unreleased] +## [0.7.4] — 2026-07-03 + +## [0.7.3] — 2026-07-03 + ## [0.7.2] — 2026-07-03 ### Fixed diff --git a/build.zig.zon b/build.zig.zon index 460cd5c..03972ba 100644 --- a/build.zig.zon +++ b/build.zig.zon @@ -9,7 +9,7 @@ .name = .zigmark, // This is a [Semantic Version](https://semver.org/). // In a future version of Zig it will be used for package deduplication. - .version = "0.7.2", + .version = "0.7.4", // Together with name, this represents a globally unique package // identifier. This field is generated by the Zig toolchain when the // package is first created, and then *never changes*. This allows diff --git a/src/markdown/renderers/typst.zig b/src/markdown/renderers/typst.zig index 2185698..b709770 100644 --- a/src/markdown/renderers/typst.zig +++ b/src/markdown/renderers/typst.zig @@ -899,6 +899,18 @@ test "special char escaping" { try ok("a $ b", "a \\$ b\n\n"); } +test "raw HTML is intentionally dropped (no Typst equivalent)" { + // Downstream (sc2in/policypress#117) relies on this: its build pre-flight + // flags raw HTML in policy bodies precisely because this renderer omits it + // while the HTML renderer keeps it, so the site and the PDF would diverge. + // If this behaviour ever changes, that validation rule should be revisited. + // + // Block HTML (`