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

Missing last row when have even columns and odd rows in table #4573

Closed
YanWenKun opened this issue Mar 28, 2024 · 2 comments
Closed

Missing last row when have even columns and odd rows in table #4573

YanWenKun opened this issue Mar 28, 2024 · 2 comments
Assignees
Labels
improvement v2.0.23 Issues resolved in the 2.0.23 release
Milestone

Comments

@YanWenKun
Copy link

With table code:

[cols=2]
|===
|1
|2
|3
|4
|5
|===

Would expect:

1 2
3 4
5

But outputs:

1 2
3 4

This happens on GitHub README and VSCode with AsciiDoc extension.

Thanks in advance!

@mojavelinux
Copy link
Member

This behavior is correct. The table has an extra cell and since it does not form a complete row, it cannot be accepted.

Asciidoctor should output a warning in this case. I'll figure out where that needs to go and add it.

@mojavelinux mojavelinux self-assigned this Mar 28, 2024
@mojavelinux mojavelinux added this to the v2.0.x milestone Mar 28, 2024
@mojavelinux
Copy link
Member

This issue was dependent on #4587, which is now resolved.

mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue May 16, 2024
mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue May 16, 2024
mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue May 16, 2024
mojavelinux added a commit to mojavelinux/asciidoctor that referenced this issue May 16, 2024
@mojavelinux mojavelinux added the v2.0.23 Issues resolved in the 2.0.23 release label May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
improvement v2.0.23 Issues resolved in the 2.0.23 release
Projects
None yet
Development

No branches or pull requests

2 participants