-
Notifications
You must be signed in to change notification settings - Fork 36
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
Regression in printing tables between 0.7.9 and master #56
Comments
…T}, the former of which must continue from a previous line and the latter which must have content continue on it. Fix the current source by having T{ be a span macro (as what comes before that will be a T}) and have the T{ be a special snowflake that starts on its own line, but allows continuing content. References #56
Great find! In the first example (with old lowdown), it's just luck that it works: blank lines in the output are the reason I re-wrote the serialisation algorithm to be two-pass. And as you can see, this is mostly due to links. The referenced patch fixes this. Tested in a variety of situations with embedded links, links in styles, etc. If you can confirm this fix, please close the issue. Thank you for reporting! |
The
Thanks for the quick fix! Edit: I accidentally typed inside the code block. |
I can't replicate this. What are the exact commands you're using, and what version of groff? (Thanks for keeping at this!) |
You'll see an edit above, I had accidentally typed a bit inside the code block. I'm running |
That's the problem---mandoc doesn't accept ms macros, only man. |
Ok, sorry for the confusion. Should be all good now, thank you very much :) |
I was unable to git bisect this, because a few commits were simply not printing anything.
From the following markdown:
Using
./lowdown -s -Tman mirrors.md
; with-Tms
on master it's broken in the same way, and on 0.7.9 it's broken in a weirder way still.With lowdown 0.7.9, I get:
and with lowdown from master, I get:
With the first one, I get a normal looking table without any issues, but the latter generates a completely broken table (I'm displaying them with
mandoc(1)
).The text was updated successfully, but these errors were encountered: