From fe05b565a018bd5034ccaf1b3ea0599e89302c20 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 2 Dec 2014 10:08:06 +0000 Subject: Fix the implementation and documentation of \c (continue text input line). In particular, make it work in no-fill mode, too. Reminded by Carsten dot Kunze at arcor dot de (Heirloom roff). --- html.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'html.c') diff --git a/html.c b/html.c index 000d9c8a..fe16224e 100644 --- a/html.c +++ b/html.c @@ -1,4 +1,4 @@ -/* $Id: html.c,v 1.182 2014/12/01 04:34:06 schwarze Exp $ */ +/* $Id: html.c,v 1.183 2014/12/02 10:08:06 schwarze Exp $ */ /* * Copyright (c) 2008-2011, 2014 Kristaps Dzonsons * Copyright (c) 2011, 2012, 2013, 2014 Ingo Schwarze @@ -562,8 +562,9 @@ print_text(struct html *h, const char *word) if ( ! print_encode(h, word, 0)) { if ( ! (h->flags & HTML_NONOSPACE)) h->flags &= ~HTML_NOSPACE; + h->flags &= ~HTML_NONEWLINE; } else - h->flags |= HTML_NOSPACE; + h->flags |= HTML_NOSPACE | HTML_NONEWLINE; if (h->metaf) { print_tagq(h, h->metaf); -- cgit v1.2.3