Conformance Examples 0.1.0 — Transforms: transform-strip_html¶
strip_html-simple-tags¶
Inline tags are removed; their inner text is preserved.
Template
Context
Output
strip_html-self-closing-and-attrs¶
Tags with attributes and self-closing slashes are removed entirely.
Template
Context
Output
strip_html-script-body-removed¶
Both the script tags AND their body are removed (case-insensitive open/close).
Template
Context
Output
strip_html-style-body-removed¶
Both the style tags AND their body are removed.
Template
Context
Output
strip_html-comment-removed¶
HTML comments are removed.
Template
Context
Output
strip_html-entities-not-decoded¶
HTML entities are left intact (no entity decoding). Unescaped interpolation avoids the double-encoding that {{ }} would introduce.
Template
Context
Output
strip_html-no-tags-passthrough¶
Plain text without tags is unchanged.
Template
Context
Output
Source fixture: transforms/transform-strip_html.json