mvertes / txt2man

txt2man converts text to man page
GNU General Public License v2.0
57 stars 10 forks source link

Sections don't support non-literal characters #12

Closed eribertomota closed 4 years ago

eribertomota commented 7 years ago

Hi,

When using commas or slashes in sections or sub-sections the txt2man put extra spaces before the text. The following text works fine:

ICMP ECHO REQUEST AND ECHO REPLY OPTIONS -N id number
Define the 16-bit ICMP identification number. This value is random by default. -Q sequence number
Define the 16-bit ICMP sequence number. This value is random by default.

The following text fails:

ICMP ECHO REQUEST / ECHO REPLY OPTIONS -N id number
Define the 16-bit ICMP identification number. This value is random by default. -Q sequence number
Define the 16-bit ICMP sequence number. This value is random by default.

Regards,

Eriberto