Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Explode merged table cells (colspan and rowspan) #160

Open
roniemartinez opened this issue May 25, 2022 · 0 comments
Open

Explode merged table cells (colspan and rowspan) #160

roniemartinez opened this issue May 25, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@roniemartinez
Copy link
Owner

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>
@roniemartinez roniemartinez added the enhancement New feature or request label May 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant