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

Prioritize injecting into head tag over #2688

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kaesve
Copy link

@kaesve kaesve commented Feb 4, 2023

This fixes #2687

PR Type

What kind of change does this PR introduce?

[X] Bugfix
[ ] Feature
[ ] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other: <!-- Please describe: -->

What is the current behavior?

Issue Number: 2687

What is the new behavior?

If there is both a </svg> and a </head>, inject into the head instead of the svg.

Does this PR introduce a breaking change?

[ ] Yes
[X] No

Other information

wenfangdu

This comment was marked as resolved.

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.

Inline SVGs in the head tag breaks the injected script
2 participants