Skip to content

v0.6.0 - Escape inner text

Compare
Choose a tag to compare
@TheJaredWilcurt TheJaredWilcurt released this 07 Nov 03:06
· 35 commits to main since this release
2978753

Features:

  • Snapshots now escape innerText nodes with named HTML entities.
    • Previously <pre>&lt;div&gt;Example&lt;/div&gt;</pre> would become <pre><div>Example</div></pre>.
    • You can toggle this via the global.vueSnapshots.formatting.escapeInnerText boolean setting.

Maintenance:

  • Updated all dependencies.
  • Test coverage remains at 100%.

Diff: