Skip to content

Parsing error in case <svg> tag is nested. #12

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

Open
newinh opened this issue Oct 14, 2022 · 0 comments
Open

Parsing error in case <svg> tag is nested. #12

newinh opened this issue Oct 14, 2022 · 0 comments

Comments

@newinh
Copy link

newinh commented Oct 14, 2022

When parsing following svg, parsing error occurred.

ParseSvg Error: xml: (*svg.Svg).UnmarshalXML did not consume entire <svg> element
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" height="639"
    width="505" viewBox="(0, 0, 505, 639)">
    <defs />
    <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" height="639"
        width="505" viewBox="0 -639 505 639">
        <defs />
    </svg>
</svg>
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