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 xlink:href throws an error #72

Open
mkkeck opened this issue Aug 23, 2019 · 2 comments
Open

SVG xlink:href throws an error #72

mkkeck opened this issue Aug 23, 2019 · 2 comments
Labels

Comments

@mkkeck
Copy link

mkkeck commented Aug 23, 2019

No description provided.

@Potherca
Copy link
Member

Could you provide us with an example of the code that triggers the error?

@mkkeck
Copy link
Author

mkkeck commented Aug 24, 2019

Okay here's a simple sample code:

<svg class="svg-icon"><use xlink:href="#icon-menu" /></svg>

This works:

<svg class="svg-icon" tal:content='structure string:<use xlink:href="#icon-menu" />'></svg>

But for large amount of inline SVG icons or references this would be really ugly or overhead.

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