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

Svg attribute viewBox is converted to lower case #8

Open
jorgenhojdmo opened this issue Aug 3, 2017 · 0 comments
Open

Svg attribute viewBox is converted to lower case #8

jorgenhojdmo opened this issue Aug 3, 2017 · 0 comments

Comments

@jorgenhojdmo
Copy link

jorgenhojdmo commented Aug 3, 2017

When parsing the following svg

svgTestRect = """
<svg width="100%" height="100%" viewBox="0.00 0.00 50.00 50.00" >
<rect x="5px" y="5px" width="45px" height="45px" fill="red"></rect>
</svg>"""

with

Html.div [] (toVirtualDom <| HtmlParser.parse svgTestRect)
the generated svg is

<svg width="100%" height="100%" viewbox="0.00 0.00 50.00 50.00" >
<rect x="5px" y="5px" width="45px" height="45px" fill="red"></rect>
</svg>

which is not rendered correct.

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

No branches or pull requests

1 participant