Uploaded image for project: 'XWiki Rendering'
  1. XWiki Rendering
  2. XRENDERING-372

Mixing formatting and groups inside lists confuses wiki syntax parser / renderer

    XMLWordPrintable

Details

    • N/A
    • N/A

    Description

      Steps to reproduce:

      • create document (in xwiki/2.1 syntax)
      • add content
        * ##monospace##(((separate)))
        * ##mono##((({{warning}}Note{{/warning}})))
        
      • view the document

      Result:
      In the first list element the "monospace" text is not formatted as monospace. In the second list element, the "monospace" is not formattet, but the contents of the macro inside the group is.

      Converting the content inside the edit from syntax xwiki/2.1 to xwiki/2.0 converts the content to:

      * (((
      monospace####separate
      )))
      * (((
      mono##{{warning}}
      Note
      {{/warning}}##
      )))
      

      I guess this content is what the syntax parser "really" sees after trying to repair something.

      A "real live" example where this happens: http://dev.xwiki.org/xwiki/bin/view/Community/DevelopmentPractices#HBuildBestPractices

      Attachments

        Issue Links

          Activity

            People

              vmassol Vincent Massol
              camil7 Clemens Robbenhaar
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: