From 627a4caec7519aa0479398c3e48bdd78999d2fc8 Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Thu, 12 Nov 2009 08:21:05 +0000 Subject: Fixed \c support for all input and output modes (documented in mandoc_char.7). --- html.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'html.c') diff --git a/html.c b/html.c index 8b6279f5..7a18c976 100644 --- a/html.c +++ b/html.c @@ -262,6 +262,9 @@ print_encode(struct html *h, const char *p) } p += len - 1; + + if (DECO_NOSPACE == deco && '\0' == *(p + 1)) + h->flags |= HTML_NOSPACE; } } -- cgit