Block rule for Wikidot embed blocks: [[embed]], [[embedvideo]],
and [[embedaudio]] (each with a matching closing tag).
In original Wikidot, only HTML that matches a server-side allow-list is
rendered. This parser does not perform that filtering -- the raw content
between the tags is stored verbatim as an embed-block element. Validation
and sanitisation are expected to happen at rendering time or on the server.
The embed block is wrapped in a paragraph container in the AST, matching
Wikidot's rendering behaviour where embeds sit inside <p> tags.
If no closing tag is found, the rule fails to prevent consuming the rest
of the document.
Block rule for Wikidot embed blocks:
[[embed]],[[embedvideo]], and[[embedaudio]](each with a matching closing tag).In original Wikidot, only HTML that matches a server-side allow-list is rendered. This parser does not perform that filtering -- the raw content between the tags is stored verbatim as an
embed-blockelement. Validation and sanitisation are expected to happen at rendering time or on the server.The embed block is wrapped in a paragraph container in the AST, matching Wikidot's rendering behaviour where embeds sit inside
<p>tags.If no closing tag is found, the rule fails to prevent consuming the rest of the document.