[
https://issues.apache.org/jira/browse/FREEMARKER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971368#comment-16971368
]
Alessandro Candini edited comment on FREEMARKER-122 at 11/11/19 8:08 AM:
-------------------------------------------------------------------------
Ok Dániel, I see.
This behaviour is very annoying, I've asked in [Liferay Forums
too|[https://liferay.dev/forums/-/message_boards/message/117735852]].
Thank you.
was (Author: caneta):
Ok Dániel, I see.
This behaviour is very annoying, [I've asked in Liferay Forums
too|[https://liferay.dev/forums/-/message_boards/message/117735852]].
Thank you.
> 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
> Priority: Major
>
> 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)