]> git.cameronkatri.com Git - mandoc.git/commitdiff
paragraphs can contain .MT and .UR blocks
authorIngo Schwarze <schwarze@openbsd.org>
Sat, 18 Aug 2018 20:41:54 +0000 (20:41 +0000)
committerIngo Schwarze <schwarze@openbsd.org>
Sat, 18 Aug 2018 20:41:54 +0000 (20:41 +0000)
man_macro.c

index 15a4a9d621cf0e2d91e7d504133e0285e778592c..ad63db9553af9fb80671e7f60088ad1ba7370f83 100644 (file)
@@ -1,4 +1,4 @@
-/*     $Id: man_macro.c,v 1.131 2018/08/18 17:32:37 schwarze Exp $ */
+/*     $Id: man_macro.c,v 1.132 2018/08/18 20:41:54 schwarze Exp $ */
 /*
  * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv>
  * Copyright (c) 2012-2015, 2017, 2018 Ingo Schwarze <schwarze@openbsd.org>
@@ -294,7 +294,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);