Repository navigation
v3.37.2
Security
- Security fix in
Tiptap\Content::sanitize()andrender(). Upgrade soon if you pass user-supplied HTML or stored editor content through them.
Fixes
Tiptap\Contentprints the same HTML on libxml 2.9 (Ubuntu 22.04/24.04, Debian PHP images) and libxml 2.14+. Processing instructions (<?...>) no longer throw andreport()on 2.9; loose top-level text is wrapped in a<p>; NUL bytes are stripped; blank-line runs outside<pre>are collapsed before parsing.- Documents nested deeper than 200 levels are refused (
depth):render()logs it,sanitize()stays silent. atom:tiptap-migrateconverts through the same path asrender()and skips (and names) a row it cannot convert instead of aborting the run.
See the README's "Upgrading to 3.37.2" for the output changes.