[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mandoc-source
Subject:    mdocml: Fix small regression where `Op' had an extra space between the
From:       kristaps () mdocml ! bsd ! lv
Date:       2010-10-01 12:09:55
Message-ID: 201010011209.o91C9tUG031319 () krisdoz ! my ! domain
[Download RAW message or body]

Log Message:
-----------
Fix small regression where `Op' had an extra space between the "[" and the SPAN.

Modified Files:
--------------
    mdocml:
        mdoc_html.c

Revision Data
-------------
Index: mdoc_html.c
===================================================================
RCS file: /usr/vhosts/mdocml.bsd.lv/cvs/mdocml/mdoc_html.c,v
retrieving revision 1.108
retrieving revision 1.109
diff -Lmdoc_html.c -Lmdoc_html.c -u -p -r1.108 -r1.109
--- mdoc_html.c
+++ mdoc_html.c
@@ -2157,6 +2157,7 @@ mdoc_quote_pre(MDOC_ARGS)
 		/* FALLTHROUGH */
 	case (MDOC_Op):
 		print_text(h, "\\(lB");
+		h->flags |= HTML_NOSPACE;
 		PAIR_CLASS_INIT(&tag, "opt");
 		print_otag(h, TAG_SPAN, 1, &tag);
 		break;
--
 To unsubscribe send an email to source+unsubscribe@mdocml.bsd.lv

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic