source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Make -T[x]html suppress output with \& (and similar zwsp
@ 2011-10-02 10:02 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2011-10-02 10:02 UTC (permalink / raw)
  To: source

Log Message:
-----------
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!

Modified Files:
--------------
    mdocml:
        chars.in

Revision Data
-------------
Index: chars.in
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/chars.in,v
retrieving revision 1.41
retrieving revision 1.42
diff -Lchars.in -Lchars.in -u -p -r1.41 -r1.42
--- chars.in
+++ chars.in
@@ -33,15 +33,15 @@ static const char ascii_nbrsp[2] = { ASC
 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)
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-10-02 10:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-02 10:02 mdocml: Make -T[x]html suppress output with \& (and similar zwsp kristaps

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).