Block rule for the Wikidot HTML block: [[html]]...[[/html]].
An HTML block embeds raw HTML that Wikidot renders inside a sandboxed
<iframe>. The content between the tags is captured verbatim (no inline
parsing) and stored as an html element in the AST.
Supported attributes on the opening tag:
style -- applied to the containing iframe. Other attributes are
parsed but only style is used by Wikidot's renderer.
The raw content is also pushed into ctx.htmlBlocks for document-level
enumeration.
If no [[/html]] closing tag is found, the rule fails and the opening
tag falls through to text rendering (matching Wikidot behaviour).
Block rule for the Wikidot HTML block:
[[html]]...[[/html]].An HTML block embeds raw HTML that Wikidot renders inside a sandboxed
<iframe>. The content between the tags is captured verbatim (no inline parsing) and stored as anhtmlelement in the AST.Supported attributes on the opening tag:
style-- applied to the containing iframe. Other attributes are parsed but onlystyleis used by Wikidot's renderer.The raw content is also pushed into
ctx.htmlBlocksfor document-level enumeration.If no
[[/html]]closing tag is found, the rule fails and the opening tag falls through to text rendering (matching Wikidot behaviour).