Skip to content
This repository was archived by the owner on Mar 16, 2025. It is now read-only.

Explode merged table cells (colspan and rowspan) #160

@roniemartinez

Description

@roniemartinez

It will be easier to extract individual table cell data if colspan and rowspan are exploded into single cells.
Add options (--explode-rowspan, --explode-colspan and/or --explode-table-cells) to use.

For example, this table:

  <tr>
    <td rowspan="2">Two rows</td>
    <td colspan="2">Two columns</td>
  </tr>
  <tr>
    <td>Single A</td>
    <td>Single B</td>
  </tr>
</table>

Should be converted to this:

  <tr>
    <td>Two rows</td>
    <td>Two columns</td>
    <td>Two columns</td>
  </tr>
  <tr>
    <td>Two rows</td>
    <td>Single A</td>
    <td>Single B</td>
  </tr>
</table>

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions