diff --git a/CHANGELOG.md b/CHANGELOG.md index 940db43..49043c8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- XSLT `method="html"` output (#82). An `xsl:output method="html"` result is now serialized by the HTML rules (void elements like `
` emitted without a self-closing slash, raw-text elements like `"), "") + #expect(out.contains("if (a < b) x()")) + #expect(!out.contains("<")) + } + + @Test("The XML output method still self-closes empty elements") + func test_xmlStillSelfCloses() throws { + let style = """ + + +
+
+ """ + #expect(try transform(style, "") == "
") + } +}