summaryrefslogtreecommitdiffstats
path: root/mdoc_macro.c
diff options
context:
space:
mode:
authorIngo Schwarze <schwarze@openbsd.org>2023-11-24 05:02:18 +0000
committerIngo Schwarze <schwarze@openbsd.org>2023-11-24 05:02:18 +0000
commit7c821146e12f71433cc5a7c3ee230f03a36997e1 (patch)
treead2b5e4d2b2134325706db645fd0ae3d090685fd /mdoc_macro.c
parent501a9474db7fcfba9e8035ca739d8e215ad93fa6 (diff)
downloadmandoc-7c821146e12f71433cc5a7c3ee230f03a36997e1.tar.gz
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@.
Diffstat (limited to 'mdoc_macro.c')
0 files changed, 0 insertions, 0 deletions