Alessandro Candini created FREEMARKER-122:
---------------------------------------------
Summary: SVG <use> tag unwanted output
Key: FREEMARKER-122
URL: https://issues.apache.org/jira/browse/FREEMARKER-122
Project: Apache Freemarker
Issue Type: Bug
Components: engine
Environment: Linux Ubuntu 16.04
Reporter: Alessandro Candini
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.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)