Skip to content

SVG xlink:href throws an error #72

Open

Description

@mkkeck
No description provided.

Activity

  1. Potherca commented on Aug 23, 2019

    @Potherca
    Member

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

  2. mkkeck commented on Aug 24, 2019

    @mkkeck
    Author

    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions