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

Quotes inside macro parameter values need to be escaped

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • Major
    • 1.8 RC2
    • 1.8 RC1
    • {Unused} Rendering 2.0
    • None
    • any
    • quote macro parameter value escape
    • Unit

    Description

      XWiki 2.0 input:

      {{box foo="abc\"def"}}this is a message{{/box}}
      

      XHTML 1.0 result:

      <!--startmacro:box|-|foo="abc"def"|-|this is a message-->
      <div class="box">
        <p>this is a message</p>
      </div>
      <!--stopmacro-->
      

      XWiki 2.0 after going back:

      {{box foo="abc" def="null" ="null"}}this is a message{{/box}}
      

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: