Skip to content

2.0.0

Compare
Choose a tag to compare
@wooorm wooorm released this 07 Sep 14:31
· 213 commits to main since this release

Generic fixes

  • 0bc95f3 Fix bug in code handling where content wasn’t trimmed
  • d59cfb1 Fix force wrap of block-level elements

New elements

  • 50a90b4 Add support for <mark> to emphasis
  • 6f50b96 Add support for <image> to image
  • 7a448f3 Add support for <dir> to list
  • d2b3dc2 Add support for <listing>, <plaintext> to code
  • ba6a207 Add tests for ignoring <dialog>
  • 69a93d5 Add support for <div>
  • 0d036ff Add support for <center>
  • ebe9983 Add support for <figure>, <figcaption>
  • d5fdbc6 Add more elements that map to their content
    • <bdi>
    • <bdo>
    • <big>
    • <blink>
    • <cite>
    • <data>
    • <details>
    • <dfn>
    • <font>
    • <meter>
    • <nobr>
    • <output>
    • <progress>
    • <slot>
    • <small>
    • <span>
    • ...and <summary> to a wrapped node.
  • 52fda67 Add support for explicitly ignoring doctype
  • 41fd8db Add more ignored elements
  • a26b1c5 Add support for main block-level elements to block-content.
    • sectioning elements: <article>, <aside>, <nav>, <section>
    • <html>
    • <body>
    • <main>
    • <footer>
    • <header>
    • <hgroup>
  • fe9be6f Add support for ignoring <area>, <map>
  • 238d294 Add support for <address> to paragraph
  • cac60e8 Add support for <abbr>, <acronym> to children
  • 607462d Add support for <q> to quotes (") and children
  • 687d126 Add support for <u> to emphasis
  • 321f7b0 Add support for <sub>, <sup> to children
  • 9fa3011 Add support for <tt>
  • 228bc0f Add support for <wbr>
  • 5aa29c1 Add support for <xmp>

Refactor project