=================================================================== RCS file: /cvs/mandoc/man_term.c,v retrieving revision 1.127 retrieving revision 1.129 diff -u -p -r1.127 -r1.129 --- mandoc/man_term.c 2012/01/03 15:16:24 1.127 +++ mandoc/man_term.c 2012/06/02 20:16:23 1.129 @@ -1,6 +1,6 @@ -/* $Id: man_term.c,v 1.127 2012/01/03 15:16:24 kristaps Exp $ */ +/* $Id: man_term.c,v 1.129 2012/06/02 20:16:23 schwarze Exp $ */ /* - * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons + * Copyright (c) 2008-2012 Kristaps Dzonsons * Copyright (c) 2010, 2011 Ingo Schwarze * * Permission to use, copy, modify, and distribute this software for any @@ -127,6 +127,8 @@ static const struct termact termacts[MAN_MAX] = { { pre_in, NULL, MAN_NOTEXT }, /* in */ { pre_ft, NULL, MAN_NOTEXT }, /* ft */ { pre_OP, NULL, 0 }, /* OP */ + { pre_literal, NULL, 0 }, /* EX */ + { pre_literal, NULL, 0 }, /* EE */ }; @@ -243,7 +245,7 @@ pre_literal(DECL_ARGS) term_newln(p); - if (MAN_nf == n->tok) + if (MAN_nf == n->tok || MAN_EX == n->tok) mt->fl |= MANT_LITERAL; else mt->fl &= ~MANT_LITERAL;