summaryrefslogtreecommitdiffstats
path: root/chars.in
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:40:14 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-05-24 21:40:14 +0000
commit2176678845e3bde85db6f82732ecbedba450f755 (patch)
tree80a548165d108ed595e84014d036751d9ceac8d8 /chars.in
parent4b3a9caedf7632dd837b5d786c41d0d124c06ee4 (diff)
downloadmandoc-2176678845e3bde85db6f82732ecbedba450f755.tar.gz
Use the correct Unicode value for the zero-width space, which means that
spec2cp never needs to fall through to spec2str. Then clean out html.c of its unnecessary print_res() function.
Diffstat (limited to 'chars.in')
-rw-r--r--chars.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/chars.in b/chars.in
index b59d3b07..6904c971 100644
--- a/chars.in
+++ b/chars.in
@@ -33,15 +33,15 @@ static const char ascii_nbrsp[2] = { ASCII_NBRSP, '\0' };
CHAR_TBL_START
/* Spacing. */
-CHAR("c", "", 0)
+CHAR("c", "", 8203)
CHAR("0", " ", 8194)
CHAR(" ", ascii_nbrsp, 160)
CHAR("~", ascii_nbrsp, 160)
-CHAR("%", "", 0)
-CHAR("&", "", 0)
-CHAR("^", "", 0)
-CHAR("|", "", 0)
-CHAR("}", "", 0)
+CHAR("%", "", 8203)
+CHAR("&", "", 8203)
+CHAR("^", "", 8203)
+CHAR("|", "", 8203)
+CHAR("}", "", 8203)
/* Accents. */
CHAR("a\"", "\"", 779)