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

XML parsing errors on generated svg #108

Open
Essenceia opened this issue Oct 27, 2023 · 0 comments
Open

XML parsing errors on generated svg #108

Essenceia opened this issue Oct 27, 2023 · 0 comments
Assignees
Labels

Comments

@Essenceia
Copy link

Hello,

First of all I would like to thank you for building such a great tool.

I am encountering a bug using the online tool when translating the less than < character at the end of a text section.
This produces the following xml :

<text x="26" y="44" ><</text>
                     ^^

Ascii to reproduce :

┌───┐
│   │
│  <│
└───┘

I am personally side stepping this bug by replacing these << with an utf8 equivalent in post processing :

sed -i 's/<</\&#x003c;</g' bob.svg

This replaces << with &#x003c;<.

Thanks for your work

@ivanceras ivanceras self-assigned this Oct 29, 2023
@ivanceras ivanceras added the bug label Oct 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants