Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-3495

Velocity macros are not fully matched when there is space(s) between the macro name and the parameters

    XMLWordPrintable

    Details

    • Tests:
      Unit
    • Similar issues:

      Description

      for example

      #if ($var > 0)
      #end
      

      gives

      {{velocity}}
      #if ($var {{html wiki=true}}>{{/html}} 0)
      #end
      {{/velocity}}
      

      instead of

      {{velocity}}
      #if ($var > 0)
      #end
      {{/velocity}}
      

        Attachments

          Activity

            People

            Assignee:
            tmortagne Thomas Mortagne
            Reporter:
            tmortagne Thomas Mortagne
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: