Uploaded image for project: 'Confluence'
  1. Confluence
  2. CONFLUENCE-81

Macro with empty parameter name produce bad result in xwiki/2.1 syntax

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 9.8
    • 9.7
    • XML
    • None
    • Unit
    • Unknown

    Description

      It seems that Confluence macros can have empty parameter name which current produces something like:

      {{mymacro =""/}}
      

      Unfortunately XWiki behavior does not make much sense currently with such content (see XRENDERING-601) so maybe the Confluence input filter should always set a name. For example, it uses "0" in the wiki syntax parser for the default parameter (it's mostly because parameters are not named in the wiki syntax but at least it would produce a consistent behavior).

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: