Uploaded image for project: 'XWiki Commons'
  1. XWiki Commons
  2. XCOMMONS-2367

$escapetool.velocity() doesn't work as expected

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 13.10.3, 14.1-rc-1
    • 13.10.2
    • Velocity
    • None
    • Unit
    • Easy
    • N/A
    • N/A

    Description

      The following:

      $escapetool.velocity('one##two')
      

      outputs:

      one${esc.h}${esc.h}two
      

      which is not right because $esc is not defined. It should have been $escapetool.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: