Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make robust from element injection to foreignObject #46

Merged
merged 3 commits into from
Apr 12, 2022

Conversation

yhatt
Copy link
Member

@yhatt yhatt commented Apr 10, 2022

marpit-svg-polyfill has assumed the first element of <foreignObject> as the slide element <section>. But this assumption sometimes break by the advanced customization of Marp ecosystem: marp-team/marp#284

In this PR, I have updated to find the first <section> from children of <foreignObject> correctly.

@yhatt yhatt merged commit 2b3af46 into main Apr 12, 2022
@yhatt yhatt deleted the make-robust-from-element-injection branch April 12, 2022 12:04
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.

None yet

1 participant