summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-10-02 10:02:26 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-10-02 10:02:26 +0000
commit6f7be166af7f1df1e62dc95617d3e91c3178d435 (patch)
treedd2e7368f282e0c1716154e649d341e109a79878
parentedfa97065bf004d6532bf5da49f7718bd4ae5443 (diff)
downloadmandoc-6f7be166af7f1df1e62dc95617d3e91c3178d435.tar.gz
Make -T[x]html suppress output with \& (and similar zwsp points). This
fixes lynx's rendering of manuals with the \&, which were rendering as &#8203; in the text. Reported by Paul de Weerd, thanks!
-rw-r--r--chars.in12
1 files changed, 6 insertions, 6 deletions
diff --git a/chars.in b/chars.in
index cc5eccb1..0d6959de 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", "", 8203)
+CHAR("c", "", 0)
CHAR("0", " ", 8194)
CHAR(" ", ascii_nbrsp, 160)
CHAR("~", ascii_nbrsp, 160)
-CHAR("%", "", 8203)
-CHAR("&", "", 8203)
-CHAR("^", "", 8203)
-CHAR("|", "", 8203)
-CHAR("}", "", 8203)
+CHAR("%", "", 0)
+CHAR("&", "", 0)
+CHAR("^", "", 0)
+CHAR("|", "", 0)
+CHAR("}", "", 0)
/* Accents. */
CHAR("a\"", "\"", 779)