diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-25 16:20:24 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-01-25 16:20:24 +0000 |
commit | 39ff6e4b0b3b7a522539aec9a027f1b265b6d8ae (patch) | |
tree | dc7856135dcd0245df0c7a792e52050d36978f91 /mdoc_html.c | |
parent | e715d2a075efaec805b4b67c6fd39ab481b6327a (diff) | |
download | mandoc-39ff6e4b0b3b7a522539aec9a027f1b265b6d8ae.tar.gz |
Arguments to `Bsx' and friends are separated by a non-breaking space.
This removes a TODO raised by schwarze@.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 5accf6f8..831580ec 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -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); } |