aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/chars.in
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
commita765461986121d50b3fda037733112d911413218 (patch)
tree11797fd9916edab0917136df4efb0414d971efd3 /chars.in
parentddf29a0f2afb16b76fc39ba31545940564badced (diff)
downloadmandoc-a765461986121d50b3fda037733112d911413218.tar.gz
mandoc-a765461986121d50b3fda037733112d911413218.tar.zst
mandoc-a765461986121d50b3fda037733112d911413218.zip
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!
Diffstat (limited to 'chars.in')
-rw-r--r--chars.in14
1 files changed, 7 insertions, 7 deletions
diff --git a/chars.in b/chars.in
index 1d34be4c..a4c45b3c 100644
--- a/chars.in
+++ b/chars.in
@@ -1,4 +1,4 @@
-/* $Id: chars.in,v 1.41 2011/09/18 14:14:15 schwarze Exp $ */
+/* $Id: chars.in,v 1.42 2011/10/02 10:02:26 kristaps Exp $ */
/*
* Copyright (c) 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
*
@@ -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)