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

Parser doesn't support line breaks in between attributes: #347

Open
hornta opened this issue Jul 18, 2021 · 0 comments
Open

Parser doesn't support line breaks in between attributes: #347

hornta opened this issue Jul 18, 2021 · 0 comments

Comments

@hornta
Copy link

hornta commented Jul 18, 2021

For example this XML doesn't give any information in the CST about the linebreaks between the attributes:

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="100%" height="100%" viewBox="0 0 110 60">

  <g id="group-1">
    <circle cx="80" cy="30" r="20" fill="cornflowerblue" />
    <text x="80" y="33" text-anchor="middle" font-size="10">1</text>
  </g>

  <g id="group-1">
    <rect x="10" y="10" width="40" height="40" fill="gold" />
    <text x="30" y="33" text-anchor="middle" font-size="10">2</text>
  </g>
</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