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

Macro block parameters are lost

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 2.1.1, 2.2 M2
    • WYSIWYG Editor
    • None
    • Medium

    Description

      XWiki 2.0 input:

      before
      
      (% style="color:red;" %)
      {{velocity}}$xwiki.version{{/velocity}}
      
      after
      

      XHTML output:

      <p>before</p>
      <p style="color:red;">
        <!--startmacro:velocity|-||-|$xwiki.version-->2.2-SNAPSHOT.26414<!--stopmacro-->
      </p>
      <p>after</p>
      

      XWiki 2.0 after reparsing:

      before
      
      {{velocity}}$xwiki.version{{/velocity}}
      
      after
      

      Block parameters are lost.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated: