Uploaded image for project: 'Apache Freemarker'
  1. Apache Freemarker
  2. FREEMARKER-122

SVG <use> tag unwanted output

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Invalid
    • None
    • None
    • engine
    • None
    • Linux Ubuntu 16.04

    Description

      I'm using Liferay 7.2 CE and Inside a Web Content Template, I have the following snippet:
       <svg><use xlink:href="icons.svg#star"></use></svg>
      and the Freemarker engine elaborates it to:
       <svg><path fill="currentColor" d="M104 224H24c-13.255 0-24 ..."></path></svg>
      As you can see, I get the content of my SVG icon, but this is not what I want: I would like that Freemarker will produce as output the <use> tag I've put inside my template, not a re-elaboration of it.

      How to obtain this?

      Thank you.

      Attachments

        Activity

          People

            Unassigned Unassigned
            caneta Alessandro Candini
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: