zestedesavoir / zmarkdown

Live demo: https://zestedesavoir.github.io/zmarkdown/
MIT License
224 stars 52 forks source link

Fully-framed tables are too narrow in PDF exports #463

Closed philippemilink closed 3 months ago

philippemilink commented 2 years ago

With the following input:

The following table is correctly rendered in PDFs:

| Column 1 | Column 2 | Column 3 |
| -------- | -------- | -------- |
| A text a little bit longer in this column. And even more longer. | Text | Text |

The following table is incorrectly rendered in PDFs, it is too narrow:
+--------------------------------------------------------------------+------------+------------+
| Column 1                                                           | Column 2   | Column 3   |
+====================================================================+============+============+
| A text a little bit longer in this column. And even more longer. | Text       | Text       |
+--------------------------------------------------------------------+------------+------------+

And still some text

I get the following PDF:

bug-tableaux-pdf

The bug is in zmd 10 and 11.