This issue has been created
 
 
XWiki Rendering / cid:jira-generated-image-avatar-9659c379-cded-42df-a1c4-d537a10bb5d9 XRENDERING-776 Open

HTML table caption gets included in first table cell

 
View issue   ·   Add comment
 

Issue created

 
cid:jira-generated-image-avatar-2e42ca6f-52bc-4978-98ba-cc2b21ae354a Armin Günther created this issue on 04/Mar/25 15:52
 
Summary: HTML table caption gets included in first table cell
Issue Type: cid:jira-generated-image-avatar-9659c379-cded-42df-a1c4-d537a10bb5d9 Bug
Affects Versions: 16.10.3
Assignee: Unassigned
Components: Syntax - xwiki/2.1
Created: 04/Mar/25 15:52
Priority: cid:jira-generated-image-static-major-c8c002d2-0905-472c-b7d3-a0ffb3619ea6 Major
Reporter: Armin Günther
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|