summaryrefslogtreecommitdiffstats
path: root/libmdoc.h
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2010-06-09 19:22:56 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2010-06-09 19:22:56 +0000
commitc92be367f7c707418fe2a4beb17688dffa614781 (patch)
treead1bf921cea730c33b344ec8d7a420a9c758d32d /libmdoc.h
parenta560a18cf09008f29e00db4014ecd394727489c8 (diff)
downloadmandoc-c92be367f7c707418fe2a4beb17688dffa614781.tar.gz
Squash bug noted by Ulrich Spoerlein where "-" were being converted to
ASCII_HYPH, as per normal, but were screwing up mandoc_special(). Fixed by making mandoc_special() first check isspace() instead of ! isgraph(), then normalise its string as it passes out. This require de-constifying some validation routines not already de-constified (those in libman), but that's ok, because I'd like to be pushing actions into validation routines to save on space and redundant calculations.
Diffstat (limited to 'libmdoc.h')
0 files changed, 0 insertions, 0 deletions