freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alessandro Candini (Jira)" <j...@apache.org>
Subject [jira] [Commented] (FREEMARKER-122) SVG <use> tag unwanted output
Date Mon, 11 Nov 2019 07:53:00 GMT

    [ https://issues.apache.org/jira/browse/FREEMARKER-122?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16971368#comment-16971368
] 

Alessandro Candini commented on FREEMARKER-122:
-----------------------------------------------

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)

Mime
View raw message