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

Always return SVG Images with XML declaration #67

Open
kbarendrecht opened this issue May 2, 2019 · 0 comments
Open

Always return SVG Images with XML declaration #67

kbarendrecht opened this issue May 2, 2019 · 0 comments
Labels
enhancement New feature or request

Comments

@kbarendrecht
Copy link
Contributor

kbarendrecht commented May 2, 2019

For svg's to be used in a browser's <img> tag and other programs it needs to have an xml declaration like: <?xml version="1.0" encoding="UTF-8" standalone="no"?>

Using images in a html document can be done by just the <svg> tag, but it also works with the declaration included. Therefore the svg api result would be most useful if it always returned an svg with declaration.

Right now the api returns the svg 'as is'.

@kbarendrecht kbarendrecht added the enhancement New feature or request label May 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant