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

Differentiate macros with empty content from macros without content

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.9 RC1, 2.0 M1
    • 1.8.2
    • WYSIWYG Editor
    • None
    • any
    • macro empty null content
    • Unit, Integration
    • Medium

    Description

      Macros with empty content:

      {{xyz}}{{/xyz}}
      

      generate:

      <!--startmacro:xyz|-||-|--><!--stopmacro-->
      

      while macros without content:

      {{xyz/}}
      

      generate:

      <!--startmacro:xyz|-|--><!--stopmacro-->
      

      Currently the WYSIWYG editor understands only the first form.

      Attachments

        Activity

          People

            mflorea Marius Dumitru Florea
            mflorea Marius Dumitru Florea
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: