diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-02 21:40:45 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-02-02 21:40:45 +0000 |
commit | fe1e1c9e6ff55e0dc447b3cbe2c90acec57abb94 (patch) | |
tree | 41487390a8b9f98c9f16c129452bb52b69fae3ec /mdoc_html.c | |
parent | 4d5fae7359175bce01187d32473e257174341f84 (diff) | |
download | mandoc-fe1e1c9e6ff55e0dc447b3cbe2c90acec57abb94.tar.gz |
If `Ns' is specified on its own line, it should be ignored. This is
shitty groff behaviour. Do the same, but raise a warning to this
effect. This from a TODO noted by schwarze@.
Diffstat (limited to 'mdoc_html.c')
-rw-r--r-- | mdoc_html.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_html.c b/mdoc_html.c index 11171c21..e07766fd 100644 --- a/mdoc_html.c +++ b/mdoc_html.c @@ -780,7 +780,8 @@ static int mdoc_ns_pre(MDOC_ARGS) { - h->flags |= HTML_NOSPACE; + if ( ! (MDOC_LINE & n->flags)) + h->flags |= HTML_NOSPACE; return(1); } |