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

Empty table cells not parsed correctly

    XMLWordPrintable

Details

    • Unit
    • Unknown

    Description

      Consider following rendering test cases:

      Test 1 (Pass)

      .#-----------------------------------------------------
      .input|xhtml/1.0
      .#-----------------------------------------------------
      <table><tr><td></td><td></td><td>cell13</td></tr></table>
      .#-----------------------------------------------------
      .expect|xwiki/2.0
      .#-----------------------------------------------------
      |||cell13
      

      Test 2 (Fail)

      .#-----------------------------------------------------
      .input|xwiki/2.0
      .#-----------------------------------------------------
      |||cell13
      .#-----------------------------------------------------
      .expect|xhtml/1.0
      .#-----------------------------------------------------
      <table><tr><td></td><td></td><td>cell13</td></tr></table>
      

      Test 2 is the exact opposite of Test1 but it seems to fail. It looks like there is a problem with parsing empty cells in xwiki/2.0 syntax parser.

      Attachments

        Activity

          People

            tmortagne Thomas Mortagne
            asiri Asiri Rathnayake
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: