From fa2384cb647943142a3a123b0df97d4e0a2c9533 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 29 May 2013 15:40:22 +0000 Subject: In SYNOPSIS mode, .Ek doesn't end a keep. Found and fixed on the plane to the OpenBSD t2k13 hackathon in Toronto. --- mdoc_term.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_term.c') diff --git a/mdoc_term.c b/mdoc_term.c index 9079a66c..1aa613db 100644 --- a/mdoc_term.c +++ b/mdoc_term.c @@ -1,4 +1,4 @@ -/* $Id: mdoc_term.c,v 1.246 2013/05/18 17:47:47 schwarze Exp $ */ +/* $Id: mdoc_term.c,v 1.247 2013/05/29 15:40:22 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons * Copyright (c) 2010, 2012 Ingo Schwarze @@ -2215,7 +2215,7 @@ static void termp_bk_post(DECL_ARGS) { - if (MDOC_BODY == n->type) + if (MDOC_BODY == n->type && ! (MDOC_SYNPRETTY & n->flags)) p->flags &= ~(TERMP_KEEP | TERMP_PREKEEP); } -- cgit v1.2.3