RE: Liferay 7.2 CE, FreeMarker unwanted output of SVG markup

thumbnail
Alessandro Candini, modified 5 Years ago. Regular Member Posts: 130 Join Date: 10/17/15 Recent Posts
Inside a Web Content Template, I have the following snippet:
<svg><use xlink:href="icons.svg#star"></use></svg>
which FreeMarker elaborate to this:
<svg><path fill="currentColor" d="M104 224H24c-13.255 0-24 ..."></path></svg>
In practice I get the content of my svg icon, but this is not what I want: I would like that FreeMarker will get as output the <use> tag.
How to avoid this?
Thank you.
thumbnail
Alessandro Candini, modified 5 Years ago. Regular Member Posts: 130 Join Date: 10/17/15 Recent Posts
Guys at Freemarker say that this behaviour is not due to the template language, so it should be a post elaboration after template rendering operated by Liferay.
Does anyone know how to disable this unwanted post processing and obtain what I have written in my template without any changes?
Thanks.