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

Confluence parser doesn't recognize space properly under some circumstances

    Details

    • Tests:
      Unit
    • Documentation:
      N/A
    • Documentation in Release Notes:
      N/A
    • Similar issues:

      Description

      Input:

      This is * bold *
      

      Generates:

      <document><parameter0><metadata class="linked-hash-map"><entry><string>syntax</string><org.xwiki.rendering.syntax.Syntax><type><name>Confluence</name><id>confluence</id></type><version>1.0</version></org.xwiki.rendering.syntax.Syntax></entry></metadata></parameter0><paragraph parameter0=""><word>This</word><space></space><word>is</word><specialSymbol> </specialSymbol><specialSymbol>*</specialSymbol><specialSymbol> </specialSymbol><word>bold</word><space></space></paragraph></document>
      

      Notice the SpecialSymbolBlock for the space instead of SpaceBlock.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                tmortagne Thomas Mortagne
                Reporter:
                vmassol Vincent Massol
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Date of First Response: