From 41ca712e6e6b6ad1b09c0abcbe87b01ea039b2be Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Thu, 1 Jun 2017 19:05:37 +0000 Subject: Minimal implementation of the \h (horizontal motion) escape sequence. Good enough to cope with the average DocBook insanity. --- mdoc_term.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 382804d5..77bb6be2 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.358 2017/05/30 16:31:29 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.359 2017/06/01 19:05:37 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012-2017 Ingo Schwarze @@ -407,7 +407,8 @@ print_mdoc_node(DECL_ARGS) if (NODE_EOS & n->flags) p->flags |= TERMP_SENTENCE; - p->offset = offset; + if (n->type != ROFFT_TEXT) + p->offset = offset; p->rmargin = rmargin; } -- cgit v1.2.3-56-ge451