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

Problem with table heading ending in a pipe #370

Closed
bmomjian opened this issue Apr 1, 2015 · 1 comment
Closed

Problem with table heading ending in a pipe #370

bmomjian opened this issue Apr 1, 2015 · 1 comment

Comments

@bmomjian
Copy link

bmomjian commented Apr 1, 2015

With asciidoctor 1.5.2, if the last cell of a table heading ends with a pipe, the rendered HTML assumes the first data row is part of the heading, e.g. this:

    [options="header",cols=">l,<l",frame="none"]
    |====
    ^l|stuff ^l|abc\|X
    |2 |hello\|
    |3 |hello
    |====

yields a correct HTML heading of:

    stuff   abc|X

which is good, but if you remove the "X" from the asciidoc heading, the
HTML output heading is:

    stuff   abc|2

The "X" is gone, but the "2" from the first data row is now in the
heading, and the first and only data row is now:

    hello|3  hello

This sure looks like a bug. Other asciidoc rendering systems do not do this, e.g. https://asciidoclive.com/ . More details can be found here:

 http://discuss.asciidoctor.org/Problem-with-table-heading-ending-in-a-pipe-tp2902p2916.html
@bmomjian
Copy link
Author

bmomjian commented Apr 1, 2015

Moved to the proper git repository, and closed.

@bmomjian bmomjian closed this as completed Apr 1, 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