Skip to content

problem when omitting closing tags inside div #10514

Open
@pi3141

Description

@pi3141

Explain the problem.

If I omit to close td tags, I have three trailing colons after the table and a warning of a non-closing div, even if the html is valid.

test.md :

::: mydiv

<table>
  <tr>
    <td>cell A
    <td>cell B
    <td>cell C
  <tr>
    <td>cell D
    <td>cell E
    <td>cell F
</table>

:::

command
pandoc test.md -o test.pdf

output
image

the warning :

[WARNING] Div at test.md line 1 column 1 unclosed at test.md line 17 column 1, closing implicitly.

Pandoc version?
pandoc 3.6, Linux debian 6.1.0-11-amd64

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions