diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-24 21:40:14 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-05-24 21:40:14 +0000 |
commit | 2176678845e3bde85db6f82732ecbedba450f755 (patch) | |
tree | 80a548165d108ed595e84014d036751d9ceac8d8 /chars.in | |
parent | 4b3a9caedf7632dd837b5d786c41d0d124c06ee4 (diff) | |
download | mandoc-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.in | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -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) |