diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-02 10:02:26 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-10-02 10:02:26 +0000 |
commit | 6f7be166af7f1df1e62dc95617d3e91c3178d435 (patch) | |
tree | dd2e7368f282e0c1716154e649d341e109a79878 | |
parent | edfa97065bf004d6532bf5da49f7718bd4ae5443 (diff) | |
download | mandoc-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
​ in the text. Reported by Paul de Weerd, thanks!
-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", "", 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) |