Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-15045

Change the name of the #htmlSafe directive

XMLWordPrintable

    • We collect Confluence feedback from various sources, and we evaluate what we've collected when planning our product roadmap. To understand how this piece of feedback will be reviewed, see our Implementation of New Features Policy.

      http://jira.atlassian.com/browse/CONF-14431:

      Can I suggest we rename the #htmlSafe directive? It's the same as the annotation @htmlSafe but means the opposite.

      The annotation means that the method should not be automatically encoded because its safe.

      The directive means the velocity template should have the auto encoding enabled to make it html safe.

      We'll go with Don's suggested name of #autoEncodeHtml().

            Unassigned Unassigned
            mjensen m@ (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: