Follow-up Comment #1, bug #51376 (project groff): The following patch eliminated the symptoms from the test case:
>From dd44550852361e8e35e6cb49e416956253eb39a7 Mon Sep 17 00:00:00 2001 From: Bjarni Ingi Gislason <[email protected]> Date: Fri, 14 Jul 2017 13:34:57 +0000 Subject: [PATCH] env.cpp: Restore input_trap state to normal when '.it' is called Otherwise the request '.itc' lets all later uses of '.it' behave the same way as itself. Signed-off-by: Bjarni Ingi Gislason <[email protected]> --- src/roff/troff/env.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/roff/troff/env.cpp b/src/roff/troff/env.cpp index 2c82c568..f242d4ee 100644 --- a/src/roff/troff/env.cpp +++ b/src/roff/troff/env.cpp @@ -2508,6 +2508,8 @@ void do_input_trap(int continued) curenv->input_trap_count = 0; if (continued) curenv->continued_input_trap = 1; + else + curenv->continued_input_trap = 0; int n; if (has_arg() && get_integer(&n)) { if (n <= 0) -- 2.13.2 _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?51376> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/ _______________________________________________ bug-groff mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-groff
