diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2023-11-24 05:02:18 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2023-11-24 05:02:18 +0000 |
commit | 7c821146e12f71433cc5a7c3ee230f03a36997e1 (patch) | |
tree | ad2b5e4d2b2134325706db645fd0ae3d090685fd /libmandoc.h | |
parent | 501a9474db7fcfba9e8035ca739d8e215ad93fa6 (diff) | |
download | mandoc-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 'libmandoc.h')
0 files changed, 0 insertions, 0 deletions