CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2023/11/23 21:48:02

Modified files:
        usr.bin/mandoc : tag.c 
        regress/usr.bin/mandoc/mdoc/Cm: tag.out_html tag.out_tag 

Log message:
1. Do not put ASCII_HYPH (0x1c) into the tag file.
That happened when tagging a string containing '-' on an input text line,
most commonly in man(7) .TP next line scope.
2. Do not let "\-" end the tag.
In both cases, translate ASCII_HYPH and "\-" to plain '-' for output.
For example, this improves handling of unbound.conf(5).

These two bugs were found thanks to a posting by weerd@.

Reply via email to