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

Table sometimes interrupts a pragraph and other times it does not #180

Open
mity opened this issue Feb 24, 2020 · 0 comments
Open

Table sometimes interrupts a pragraph and other times it does not #180

mity opened this issue Feb 24, 2020 · 0 comments

Comments

@mity
Copy link

mity commented Feb 24, 2020

Originally posted by @mity in #141 (comment)

foo
|  a  |  b  |
| --- | --- |
|  c  |  d  |

renders to (with -e table)

<p>foo</p>
<table>
<thead>
<tr>
<th>a</th>
<th>b</th>
</tr>
</thead>
<tbody>
<tr>
<td>c</td>
<td>d</td>
</tr>
</tbody>
</table>

However in this case, the table is recognized only if it does not interrupt a paragraph:

foo
 a  |  b
--- | ---
 c  |  d

renders to (with -e table):

<p>foo
a  |  b
--- | ---
c  |  d</p>

I would expect the paragraph interruption rule applies consistently no matter how exactly the table is encoded. I.e. either both the cases should be rendered as tables or none of them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant