diff --git a/changelog.md b/changelog.md index b700437..bcdd911 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ ## Unreleased +## 3.1.0 (2026-12-03) + * Do not emit end tags after a `` 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. diff --git a/package-lock.json b/package-lock.json index a8fe015..6aea30a 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "posthtml-render", - "version": "3.0.0", + "version": "3.1.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "posthtml-render", - "version": "3.0.0", + "version": "3.1.0", "license": "MIT", "dependencies": { "is-json": "^2.0.1" diff --git a/package.json b/package.json index 5ed4831..bdca85f 100644 --- a/package.json +++ b/package.json @@ -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",