From: schwarze Date: Sat, 18 Aug 2018 20:41:50 +0000 (+0000) Subject: paragraphs can contain .MT and .UR blocks X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=ce96ce1a61cdeef560ffd88187e814885983292d;p=openbsd paragraphs can contain .MT and .UR blocks --- diff --git a/usr.bin/mandoc/man_macro.c b/usr.bin/mandoc/man_macro.c index d3f4c66d955..564df88f208 100644 --- a/usr.bin/mandoc/man_macro.c +++ b/usr.bin/mandoc/man_macro.c @@ -1,4 +1,4 @@ -/* $OpenBSD: man_macro.c,v 1.93 2018/08/18 17:32:06 schwarze Exp $ */ +/* $OpenBSD: man_macro.c,v 1.94 2018/08/18 20:41:50 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze @@ -292,7 +292,8 @@ blk_exp(MACRO_PROT_ARGS) char *p; int la; - rew_scope(man, tok); + if (tok == MAN_RS) + rew_scope(man, tok); roff_block_alloc(man, line, ppos, tok); head = roff_head_alloc(man, line, ppos, tok);