struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4494) Improve FreemarkerManager to activate new freemarker feature
Date Fri, 30 Dec 2016 14:12:58 GMT

     [ https://issues.apache.org/jira/browse/WW-4494?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart updated WW-4494:
------------------------------
    Description: 
http://freemarker.org/docs/pgui_config_incompatible_improvements.html#pgui_config_incompatible_improvements_how_to_set

use "new Configuration(Configuration.VERSION_2_3_22)" instead of "new Configuration( )"

The new version of FreeMarker introduced auto-escaping mechanism and usage of {{?html}} is
deprecated
http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_html

  was:
http://freemarker.org/docs/pgui_config_incompatible_improvements.html#pgui_config_incompatible_improvements_how_to_set

use "new Configuration(Configuration.VERSION_2_3_22)" instead of "new Configuration( )"


> Improve FreemarkerManager to activate new freemarker feature
> ------------------------------------------------------------
>
>                 Key: WW-4494
>                 URL: https://issues.apache.org/jira/browse/WW-4494
>             Project: Struts 2
>          Issue Type: Improvement
>    Affects Versions: 2.3.20
>            Reporter: zhouyanming
>             Fix For: 2.5.next
>
>
> http://freemarker.org/docs/pgui_config_incompatible_improvements.html#pgui_config_incompatible_improvements_how_to_set
> use "new Configuration(Configuration.VERSION_2_3_22)" instead of "new Configuration(
)"
> The new version of FreeMarker introduced auto-escaping mechanism and usage of {{?html}}
is deprecated
> http://freemarker.org/docs/ref_builtins_string.html#ref_builtin_html



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message