Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-4494

Improve FreemarkerManager to activate new freemarker feature

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.3.20
    • Fix Version/s: 2.5.x
    • Component/s: None
    • Labels:
      None

      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

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              quaff Yanming Zhou
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated: