From e34f93b5af09b1ecf7b5d1db09a7e244911fe022 Mon Sep 17 00:00:00 2001
From: Sebastian Kuhnert
Date: Fri, 30 Apr 2010 10:59:47 +0000
Subject: revert last change because of unwanted side effects

---
 exercisesheets.sty | 10 +---------
 1 file changed, 1 insertion(+), 9 deletions(-)

(limited to 'exercisesheets.sty')

diff --git a/exercisesheets.sty b/exercisesheets.sty
index a18768b..ee7ccd5 100644
--- a/exercisesheets.sty
+++ b/exercisesheets.sty
@@ -606,15 +606,7 @@
   {\parindent \z@
     \pgfkeysvalueof{/exsh/solution title font}%
     \pgfkeysvalueof{/exsh/strings/solution}:\par}\nobreak%
-  \@nobreaktrue
-  \everypar{%
-    \if@nobreak
-      \@nobreakfalse
-      \clubpenalty \@M
-    \else
-      \clubpenalty \@clubpenalty
-      \everypar{}%
-    \fi}%
+  \@afterheading
 }%
 
 \long\def\exsh@skipsolution#1{%
-- 
cgit v1.2.3

