rawHtmlInline method
Raw inline HTML element.
Implementation
Parser<RawHtmlInlineNode> rawHtmlInline() =>
seq3(
position(),
seq4(
char('<'),
char('/').optional(),
pattern('a-zA-Z').plus(),
any().starLazy(char('>')),
).flatten().then(char('>')).map((res) => '${res.$1}>'),
position(),
).map3(
(start, html, stop) =>
RawHtmlInlineNode(html, start: start, stop: stop),
);