source@mandoc.bsd.lv
 help / color / mirror / Atom feed
* mdocml: Fix small regression where `Op' had an extra space between the
@ 2010-10-01 12:09 kristaps
  0 siblings, 0 replies; only message in thread
From: kristaps @ 2010-10-01 12:09 UTC (permalink / raw)
  To: source

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

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

only message in thread, other threads:[~2010-10-01 12:09 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2010-10-01 12:09 mdocml: Fix small regression where `Op' had an extra space between the 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).