Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
## Unreleased

## 3.1.0 (2026-12-03)

* Do not emit end tags after a `<plaintext>` element outside SVG/MathML. In HTML such an element turns the rest of the document into text, so posthtml-parser 0.13 (htmlparser2 12) returns everything after it as its content and the source cannot contain those end tags. Rendering now reproduces the source instead of appending `</plaintext></div>`.
* Replace the legacy build, lint and test toolchain with TypeScript, ESLint and native Node.js tests; retain Node.js 12 runtime support.
* Check the full suite and CJS/ESM consumers against a built npm tarball across the runtime matrix.
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "posthtml-render",
"version": "3.0.0",
"version": "3.1.0",
"description": "Renders PostHTML Tree to HTML/XML",
"license": "MIT",
"repository": "posthtml/posthtml-render",
Expand Down