diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 09:10:32 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2019-01-05 09:10:32 +0000 |
commit | df6a082de3c130efd8582d20d12e3dffa98ebd8f (patch) | |
tree | 9ce4043e2146650985c0f7c8625e5a1423d7948a | |
parent | 6d983e6b91d33cfce742f7ed4b3393400fd80b02 (diff) | |
download | mandoc-df6a082de3c130efd8582d20d12e3dffa98ebd8f.tar.gz |
no-fill mode has to be suspended during tbl(7) rendering, too
-rw-r--r-- | roff.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -3192,6 +3192,7 @@ roff_Dd(ROFF_ARGS) static int roff_TE(ROFF_ARGS) { + r->man->flags &= ~ROFF_NONOFILL; if (r->tbl == NULL) { mandoc_msg(MANDOCERR_BLK_NOTOPEN, ln, ppos, "TE"); return ROFF_IGN; @@ -3336,6 +3337,7 @@ roff_TS(ROFF_ARGS) mandoc_msg(MANDOCERR_BLK_BROKEN, ln, ppos, "TS breaks TS"); tbl_end(r->tbl, 0); } + r->man->flags |= ROFF_NONOFILL; r->tbl = tbl_alloc(ppos, ln, r->last_tbl); if (r->last_tbl == NULL) r->first_tbl = r->tbl; |