pub fn try_parse_inline_html(text: &str, dialect: Dialect) -> Option<usize>Expand description
Try to match an inline raw HTML span starting at text[0].
Returns the length in bytes consumed, or None if no match.
dialect controls whether bare HTML declarations (<!DOCTYPE …>,
<!ENTITY …>) and CDATA sections (<![CDATA[…]]>) are recognized
as raw HTML. Pandoc-markdown does not treat these as raw inline
HTML — the bytes fall through to plain text. CommonMark dialect
recognizes them per CommonMark §6.6.