Skip to content

Fix #329 - stack foreignobjects within SVGs#330

Open
WebReflection wants to merge 1 commit into
mainfrom
issue-329
Open

Fix #329 - stack foreignobjects within SVGs#330
WebReflection wants to merge 1 commit into
mainfrom
issue-329

Conversation

@WebReflection

@WebReflection WebReflection commented Jul 14, 2026

Copy link
Copy Markdown
Owner

Fixes #329

Apparently SVG can contain foreignObject which re-enables HTML parsing ... I have no idea if that works within a stack, so that SVG within a foreignObject re-activate SVG and so on and so forth but this implementation does that, although if that's not the case it could be simplified.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

v0.18.13 - Empty non-void HTML elements inside <foreignObject> are serialized as XML self-closing (<div/>)

1 participant