freemarker-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jens Piegsa (JIRA)" <>
Subject [jira] [Created] (FREEMARKER-49) Add Configuration.setStripText(boolean)
Date Sun, 02 Apr 2017 15:05:41 GMT
Jens Piegsa created FREEMARKER-49:

             Summary: Add Configuration.setStripText(boolean)
                 Key: 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:

[#ftl strip_text=true /]

For sake of consistency {{Configuration.setSetting(String,String)}} may accept the keys "stripText"
and "strip_text" too.

This message was sent by Atlassian JIRA

View raw message