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

HTML table caption gets included in first table cell

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • 16.10.3
    • Syntax - xwiki/2.1
    • None
    • Unknown

    Description

      When converting HTML tables with captions to XWiki 2.1, the caption text gets included into the first table cell. If captions are not supported, they should at least be ignored.

      HTML

      <table>
       <caption>some table</caption>
       <thead>
        <tr>
         <td>column 1</td>
         <td>column 2</td>
        </tr>
       </thead>
       <tbody>
        <tr>
         <td>foo</td>
         <td>bar</td>
        </tr>
       </tbody>
      </table>
      

      Converted XWiki 2.1

      |some tablecolumn 1|column 2|
      |foo|bar|

      Attachments

        Activity

          People

            Unassigned Unassigned
            armingu Armin Günther
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: