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

HTML entities in text get lost. #80

Closed
chiccorusso opened this issue Dec 14, 2012 · 0 comments
Closed

HTML entities in text get lost. #80

chiccorusso opened this issue Dec 14, 2012 · 0 comments

Comments

@chiccorusso
Copy link

Hi. I have SVG files in which tspans contain text with HTML entities, for example:

<tspan font-size="1.431245647756">
    P&amp;I BATTERY LIMIT
</tspan>

Optimized SVG substitute the HTML entities with their char:

<tspan font-size="1.43">
    P&I BATTERY LIMIT
</tspan>

It seems that sax does the conversion, so the text is already broken before passing through the plugins.

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

2 participants