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

colgroup with single column breaks html table input #2122

Closed
glexey opened this issue Apr 29, 2015 · 0 comments
Closed

colgroup with single column breaks html table input #2122

glexey opened this issue Apr 29, 2015 · 0 comments

Comments

@glexey
Copy link

glexey commented Apr 29, 2015

The following HTML:

<html>
<body>
<table>
   <colgroup><col width="144"></colgroup>
   <colgroup><col width="180"></colgroup>
   <tr><td>1</td><td>2</td></tr>
</table>
</body>
</html>

doesn't get parsed as a table:

$ pandoc test_broken.html -o test.md && cat test.md
1
2

If tags are removed, or both columns put under same , the result is as expected:

$ pandoc test_expected.html -o test.md && cat test.md
  --- ---
  1   2
  --- ---

version:

$ pandoc -v
pandoc.exe 1.13.2
Compiled with texmath 0.8.0.1, highlighting-kate 0.5.11.1.
@jgm jgm closed this as completed in 55b7afc Apr 29, 2015
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