diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-01 19:05:37 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2017-06-01 19:05:37 +0000 |
commit | 70410dfcfd38b668debf911095b28861d93134f1 (patch) | |
tree | 33d8c726de9e8afae8308bd07e389623156bfed1 /mdoc_term.c | |
parent | 8aa141e07f78054e526f8f85ec8f12e47a40fbb9 (diff) | |
download | mandoc-70410dfcfd38b668debf911095b28861d93134f1.tar.gz |
Minimal implementation of the \h (horizontal motion) escape sequence.
Good enough to cope with the average DocBook insanity.
Diffstat (limited to 'mdoc_term.c')
-rw-r--r-- | mdoc_term.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mdoc_term.c b/mdoc_term.c index 585b507a..751f3702 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -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; } |