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

Daniel Dekany commented on FREEMARKER-49:
-----------------------------------------

What's the use case for using {{stripText}} globally? I'm asking because maybe 
you misunderstand what it does. (I don't know why this option exists even on 
template level... it removes non-whitespace static text, which is quite 
confusing.)

> Add Configuration.setStripText(boolean)
> ---------------------------------------
>
>                 Key: FREEMARKER-49
>                 URL: https://issues.apache.org/jira/browse/FREEMARKER-49
>             Project: Apache Freemarker
>          Issue Type: Improvement
>            Reporter: Jens Piegsa
>            Priority: Minor
>
> The {{Configuration}} class should provide a getter/setter for the 
> {{strip_text}} option.
> Currently there does not seem to be a way to activate this option globally, 
> you have to put this line on top of each template:
> {code}
> [#ftl strip_text=true /]
> {code}
> For sake of consistency {{Configuration.setSetting(String,String)}} may 
> accept the keys "stripText" and "strip_text" too.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to