You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
----------- ------- --------------- -------------------------
First row 12.0 Example of a row that
spans multiple lines.
Second row 5.0 Here's another one. Note
the blank line between
rows.
----------- ------- --------------- -------------------------
which doesn't have a new line in the last line (actually that's a vague statement from the parsing point of view). Regardless, if I have a table like this:
----- ------------------------------ ------
A Table Here
----- ------------------------------ ------
It is interpreted as a table without taking the proportions into account. That's alright, since adding a new line fixes that. This is not the bug I'm talking about.
The bug is that the parser gets confused when there is some text, and then another table of the same kind but with heading follows. This is an example:
----- ------------------------------ ------
A Table Here
----- ------------------------------ ------
Some more text here. This text gets interpreted as if it's part of the table, but in reality it is not.
--------------------------------------
Title of other table
------ -------------- ------- -------
Some Stuff Here in
This other table .
--------------------------------------
What happens is the following. If in the first table, without heading, if I don't add the new line after the single row, the table is not detected as multiline table, since the width proportions don't take effect.
If there are at least 2 rows in the first table, there is no problem.
However, if there is a single row in the table, and there is a new line after it, the text after the table gets chopped up and put inside the table. This only happens if the text is followed by a table with heading!
This happens with pandoc 1.12.4.2. You can see it in Try pandoc! too.
The text was updated successfully, but these errors were encountered:
Hi,
I'm using the multiline tables, because I use the width proportion feature. In the README (http://johnmacfarlane.net/pandoc/README.html), it says the following works:
which doesn't have a new line in the last line (actually that's a vague statement from the parsing point of view). Regardless, if I have a table like this:
It is interpreted as a table without taking the proportions into account. That's alright, since adding a new line fixes that. This is not the bug I'm talking about.
The bug is that the parser gets confused when there is some text, and then another table of the same kind but with heading follows. This is an example:
What happens is the following. If in the first table, without heading, if I don't add the new line after the single row, the table is not detected as multiline table, since the width proportions don't take effect.
If there are at least 2 rows in the first table, there is no problem.
However, if there is a single row in the table, and there is a new line after it, the text after the table gets chopped up and put inside the table. This only happens if the text is followed by a table with heading!
This happens with pandoc 1.12.4.2. You can see it in Try pandoc! too.
The text was updated successfully, but these errors were encountered: