=================================================================== RCS file: /cvs/mandoc/man_macro.c,v retrieving revision 1.130 retrieving revision 1.131 diff -u -p -r1.130 -r1.131 --- mandoc/man_macro.c 2018/08/18 15:13:32 1.130 +++ mandoc/man_macro.c 2018/08/18 17:32:37 1.131 @@ -1,4 +1,4 @@ -/* $Id: man_macro.c,v 1.130 2018/08/18 15:13:32 schwarze Exp $ */ +/* $Id: man_macro.c,v 1.131 2018/08/18 17:32:37 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze @@ -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; }