CVSROOT: /cvs Module name: src Changes by: schwa...@cvs.openbsd.org 2014/10/27 07:29:30
Modified files: usr.bin/mandoc : term.c chars.c html.c mandocdb.c Log message: Fix a regression in term.c rev. 1.89 reported by bentley@: In UTF-8 output, do not print anything if mchars_spec2cp() returns 0. In particular, this repairs handling of zero-width spaces (\&). While here, let mchars_spec2cp() return 0xFFFD instead of -1 if the character is not found, simplifying the using code. In HTML output, do not print obfuscated ASCII characters and do not test for one-char escapes, mchars_spec2cp() already does that.