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

Add the XML namespace attribute when generating SVG tags #97

Merged
merged 1 commit into from
Nov 21, 2020

Conversation

tkfu
Copy link
Contributor

@tkfu tkfu commented Nov 20, 2020

Browsers and ebook readers will not render SVG tags properly if there is no XML namespace specified. This should also fix creativescala/creative-scala#77 and creativescala/creative-scala#72 once the images are re-rendered.

Browsers and ebook readers will not render SVG tags properly if there
is no XML namespace specified.

Signed-off-by: Jon Oster <[email protected]>
@noelwelsh
Copy link
Contributor

LGTM! Thanks for doing this.

@noelwelsh noelwelsh merged commit 51dd392 into creativescala:master Nov 21, 2020
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.

Missing xmlns value breaks inline SVG images
2 participants