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

XHTML to XWiki converter fails to convert ordered list

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Minor
    • None
    • 3.2
    • Syntax - xwiki/2.2
    • None
    • xhtml syntax

    Description

      The below XHTML does not convert to XWiki 2.0 syntax correctly.

      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
      <html xmlns="http://www.w3.org/1999/xhtml">
      <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <meta name="generator" content="pandoc" />
        <title></title>
      </head>
      <body>
      <h3 id="debian-kernel-compile">Debian Kernel Compile</h3>
      <ol style="list-style-type: decimal">
      <li><p>Get build tools</p>
      <pre><code>sudo apt-get install kernel-package libncurses-dev fakeroot wget bzip2
      </code></pre></li>
      <li><p>Build sarge kernel</p>
      <pre><code>apt-get -t sarge-backports install kernel-package ncurses-dev \
        fakeroot wget bzip2
      </code></pre></li>
      <li><p>Get source</p>
      <pre><code>cd /usr/src
      </code></pre></li>
      </ol>
      </body>
      </html>
      

      which converts to:

      === Debian Kernel Compile ===
      
      (% style="list-style-type: decimal" %)
      1. (((
      Get build tools
      
      {{{sudo apt-get install kernel-package libncurses-dev fakeroot wget bzip2
      }}}
      )))
      1. (((
      Build sarge kernel
      
      {{{apt-get -t sarge-backports install kernel-package ncurses-dev \
        fakeroot wget bzip2
      }}}
      )))
      1. (((
      Get source
      
      {{{cd /usr/src
      }}}
      )))
      

      But should convert to:

      === Debian Kernel Compile ===
      
      (% style="list-style-type: decimal" %)
      1. Get build tools
      
      {{{sudo apt-get install kernel-package libncurses-dev fakeroot wget bzip2
      }}}
      
      1. Build sarge kernel
      
      {{{apt-get -t sarge-backports install kernel-package ncurses-dev \
        fakeroot wget bzip2
      }}}
      
      1. Get source
      
      {{{cd /usr/src
      }}}
      

      But that does not render properly

      Attachments

        Activity

          People

            Unassigned Unassigned
            lollipop Jesse Hathaway
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: