From b00f24f6356d9e5f1fcdf70a24defd5376080e6b Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Tue, 25 Jan 2011 16:20:24 +0000 Subject: Arguments to `Bsx' and friends are separated by a non-breaking space. This removes a TODO raised by schwarze@. --- mdoc_html.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'mdoc_html.c') diff --git a/mdoc_html.c b/mdoc_html.c index 0641d32e..8b1478de 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_html.c,v 1.147 2011/01/25 15:46:05 kristaps Exp $ */ +/* $Id: mdoc_html.c,v 1.148 2011/01/25 16:20:24 kristaps Exp $ */ /* * Copyright (c) 2008, 2009, 2010 Kristaps Dzonsons * @@ -823,8 +823,14 @@ mdoc_xx_pre(MDOC_ARGS) PAIR_CLASS_INIT(&tag, "unix"); print_otag(h, TAG_SPAN, 1, &tag); + print_text(h, pp); - return(1); + if (n->child) { + h->flags |= HTML_KEEP; + print_text(h, n->child->string); + h->flags &= ~HTML_KEEP; + } + return(0); } -- cgit v1.2.3