[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
grohtml: .TP,.TQ: Unexpected blank line
From: |
Alejandro Colomar (man-pages) |
Subject: |
grohtml: .TP,.TQ: Unexpected blank line |
Date: |
Wed, 9 Feb 2022 01:22:01 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.1 |
Hi Branden,
I just found a bug in grohtml(1):
For the following code:
[
.TP
List
.RS
.TP
.B LOOOOOONG_ITEM
.TQ
.B LOOOOONGISH_ITEM
.TQ
.B SHORT
.TQ
.B ANOTHER_LONG_ONE
.RE
]
When rendering a manual page on the terminal, I see (as expected):
[
List
LOOOOOONG_ITEM
LOOOOONGISH_ITEM
SHORT
ANOTHER_LONG_ONE
]
But when creating an HTML file, I see the following:
[
List
LOOOOOONG_ITEM
LOOOOONGISH_ITEM
SHORT
ANOTHER_LONG_ONE
]
It happens for those tagged paragraphs that, if they had text, the text
would go on the same line as the tag, and it doesn't happen for those
that are long enough that the paragraph would start on its own line.
Cheers,
Alex
--
Alejandro Colomar
Linux man-pages comaintainer; https://www.kernel.org/doc/man-pages/
http://www.alejandro-colomar.es/
- grohtml: .TP,.TQ: Unexpected blank line,
Alejandro Colomar (man-pages) <=