summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--man_macro.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/man_macro.c b/man_macro.c
index 077e1264..f40c08fc 100644
--- a/man_macro.c
+++ b/man_macro.c
@@ -262,6 +262,8 @@ blk_close(MACRO_PROT_ARGS)
if (buf[*pos] != '\0') {
roff_word_alloc(man, line, ppos, buf + *pos);
man->last->flags |= NODE_DELIMC;
+ if (mandoc_eos(man->last->string, strlen(man->last->string)))
+ man->last->flags |= NODE_EOS;
}
/* Move a trailing paragraph behind the block. */