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

Parameters are not supported for monospace in the MediaWiki parser

    XMLWordPrintable

Details

    Description

      Mediawiki Input (verified to work on Wikipedia):

      <tt a="b">monospace</tt>
      

      Generates:

      <document><parameter0><metadata class="linked-hash-map"><entry><string>syntax</string><org.xwiki.rendering.syntax.Syntax><type><name>MediaWiki</name><id>mediawiki</id></type><version>1.0</version></org.xwiki.rendering.syntax.Syntax></entry></metadata></parameter0><paragraph parameter0=""><specialSymbol>&lt;</specialSymbol><word>tt</word><space></space><word>a</word><specialSymbol>=</specialSymbol><specialSymbol>"</specialSymbol><word>b</word><specialSymbol>"</specialSymbol><specialSymbol>&gt;</specialSymbol><word>monospace</word></paragraph></document>
      

      instead of:

      <document><parameter0><metadata class="linked-hash-map"><entry><string>syntax</string><org.xwiki.rendering.syntax.Syntax><type><name>MediaWiki</name><id>mediawiki</id></type><version>1.0</version></org.xwiki.rendering.syntax.Syntax></entry></metadata></parameter0><paragraph parameter0=""><format parameter0="MONOSPACE"><parameter1><entry><string>a</string><string>b</string></entry></parameter1><word>monospace</word></format></paragraph></document>
      

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            vmassol Vincent Massol
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: