Quantcast
Channel: XWiki Forum - Latest topics
Viewing all articles
Browse latest Browse all 1552

HTML 5.0 to XWiki 2.1 conversion can't handle table captions?

$
0
0

Hello there,

I am converting HTML to XWiki syntax and noticed that tables with captions
are not converted properly. The caption will be moved into the first head cell.

<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>
  <tr>
   <td>A</td>
   <td>B</td>
  </tr>
 </tbody>
</table>

looks like

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

any ideas on how to fix this?
I also tested it here, same outcome.
https://rendering.xwiki.org/xwiki/bin/view/Main/WebHome

2 posts - 2 participants

Read full topic


Viewing all articles
Browse latest Browse all 1552