Recognize a <span> element and map it to the appropriate AST container.
<span>
Handles underline, strikethrough (via text-decoration), size (via font-size), raw text (via white-space: pre-wrap), and hidden/invisible spans.
text-decoration
font-size
white-space: pre-wrap
The recognised element, or null if the span should fall through to a generic span container.
null
Recognize a
<span>element and map it to the appropriate AST container.Handles underline, strikethrough (via
text-decoration), size (viafont-size), raw text (viawhite-space: pre-wrap), and hidden/invisible spans.