cdn-0018-table-surplus-cells

A content row with more cells than the column count fixed by the first content row has the surplus dropped and emits CDN-0018

§4.8

Input

| A | B |
| C | D | E | F |

Diagnostics

- code: CDN-0018
  level: warning

Output AST

- type: Table
  rows:
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: A
        - type: Cell
          children:
            - type: Text
              value: B
    - type: Row
      children:
        - type: Cell
          children:
            - type: Text
              value: C
        - type: Cell
          children:
            - type: Text
              value: D
  columns:
    - type: Column
      align: start
    - type: Column
      align: start