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

Creole reader does not handle empty table cells correctly #9141

Closed
swilde opened this issue Oct 16, 2023 · 1 comment
Closed

Creole reader does not handle empty table cells correctly #9141

swilde opened this issue Oct 16, 2023 · 1 comment
Labels

Comments

@swilde
Copy link
Contributor

swilde commented Oct 16, 2023

Empty table cells are only recognized by the creole parser if they contain at least one space.

Example:

echo -e "| a | bbb |||\n| c | ddd |||" >x.creole
pandoc --standalone --from creole x.creole | grep ddd
  <p>| a | b ||| | c | ddd |||</p>

echo -e "| a | bbb | | |\n| c | ddd | | |" >y.creole
pandoc --standalone --from creole y.creole | grep 'ddd'
<td>ddd</td>

Kudos to @bernhardreiter for reporting this to me.

@swilde swilde added the bug label Oct 16, 2023
swilde added a commit to swilde/pandoc that referenced this issue Oct 16, 2023
@swilde
Copy link
Contributor Author

swilde commented Oct 16, 2023

Created PR #9142

@jgm jgm closed this as completed in f9dc5b5 Oct 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant