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 | a765461986121d50b3fda037733112d911413218 (patch) | |
tree | 11797fd9916edab0917136df4efb0414d971efd3 | |
parent | ddf29a0f2afb16b76fc39ba31545940564badced (diff) | |
download | mandoc-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
​ in the text. Reported by Paul de Weerd, thanks!
-rw-r--r-- | chars.in | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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) |