]> git.cameronkatri.com Git - mandoc.git/commitdiff
Make -T[x]html suppress output with \& (and similar zwsp points). This
authorKristaps Dzonsons <kristaps@bsd.lv>
Sun, 2 Oct 2011 10:02:26 +0000 (10:02 +0000)
committerKristaps Dzonsons <kristaps@bsd.lv>
Sun, 2 Oct 2011 10:02:26 +0000 (10:02 +0000)
fixes lynx's rendering of manuals with the \&, which were rendering as
&#8203; in the text.  Reported by Paul de Weerd, thanks!

chars.in

index 1d34be4c5d29b8d5662017b1a2ddfdf6e587f205..a4c45b3c43eba89f0420d529f0a808b431675753 100644 (file)
--- 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)