-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Definition lists are displayed as bullet lists #94
Comments
I believe you are correct here. I see the same thing in the rendered My understanding (mostly from the groff_man man page) is that The HTML rendering has a similar issue when I pop open That second format looks right to me, which supports your view that Looks to me like the point where the a) An additional intervening non-tagged/indented paragraph.
So probably this is a bug in the Have you observed this issue with other, simpler ReferencesWe've had some other issues with list rendering in Ronn-NG: |
Oh, also there's an item in the should-be-a-definition-list-but-rendered-as-a-bullet-list in
I'm thinking that if this is the problem, the right thing for |
…rendering Looks like the missing trailing colon (":") on one item in a definition list was causing the whole list to be mis-detected as a bullet list instead. This change fixes the rendering of the ronn.1 man page itself. But I think there should be an additional fix that has ronn issue a warning or error when it encounters a list with inconsistent item types and there's some ambiguity as to what type of list it is. See: #94
Adding the missing closing ">" on that encoding item did not fix the list-type rendering. It only fixed the italicization of the "encoding" bit. Adding the missing trailing ":" on that "port" item does seem to fix the list-type rendering. Notice that the literal colons in the bullet item texts disappeared too. This required no code changes in Ronn-NG, just fixes to the bad But I think this still calls for a code fix: I think |
And I think here's the code problem/cause, in
I think that Now I'm actually a little unsure what to do here. Should I think warning or erroring is still probably the right thing to do here, since the trailing |
I'm downgrading this bug to Low priority, since it's a not-too-large cosmetic issue, and there's a workaround that |
|
This can be seen in the ronn.1 man page itself, see lines 40 to 60. Interestingly it switches from .IP to .TP there. If I understand this correctly this should always be .TP.
The text was updated successfully, but these errors were encountered: