diff options
-rw-r--r-- | man_macro.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/man_macro.c b/man_macro.c index f40c08fc..66fd6c3e 100644 --- a/man_macro.c +++ b/man_macro.c @@ -246,6 +246,12 @@ blk_close(MACRO_PROT_ARGS) mandoc_msg(MANDOCERR_BLK_NOTOPEN, man->parse, line, ppos, roff_name[tok]); rew_scope(man, MAN_PP); + if (tok == MAN_RE) { + roff_elem_alloc(man, line, ppos, ROFF_br); + man->last->flags |= NODE_LINE | + NODE_VALID | NODE_ENDED; + man->next = ROFF_NEXT_SIBLING; + } return; } |