From e0f112cc5e33e7cc4a9ed0976272789afcda9558 Mon Sep 17 00:00:00 2001
From: Karl Berry <karl@freefriends.org>
Date: Tue, 12 May 2015 22:39:35 +0000
Subject: latex (12may15)

git-svn-id: svn://tug.org/texlive/trunk@37361 c570f23f-e606-0410-a88d-b1316a301751
---
 Master/texmf-dist/tex/latex/base/latex.ltx | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

(limited to 'Master/texmf-dist/tex/latex/base/latex.ltx')

diff --git a/Master/texmf-dist/tex/latex/base/latex.ltx b/Master/texmf-dist/tex/latex/base/latex.ltx
index f218a10bf65..9c838f1d163 100644
--- a/Master/texmf-dist/tex/latex/base/latex.ltx
+++ b/Master/texmf-dist/tex/latex/base/latex.ltx
@@ -4542,8 +4542,11 @@ Type  H <return>  for immediate help.}%
 \def\@endparenv{%
   \addpenalty\@endparpenalty\addvspace\@topsepadd\@endpetrue}
 \def\@doendpe{\@endpetrue
-     \def\par{\@restorepar\everypar{}\par\@endpefalse}\everypar
-               {{\setbox\z@\lastbox}\everypar{}\@endpefalse}}
+     \def\par{\@restorepar
+              \clubpenalty\@clubpenalty
+              \everypar{}\par\@endpefalse}\everypar
+               {{\setbox\z@\lastbox}%
+                \everypar{}\@endpefalse}}
 \newif\if@endpe
 \@endpefalse
 \def\@mklab#1{\hfil #1}
-- 
cgit v1.2.3

