From: Antoine Musso Date: Wed, 2 May 2007 19:09:36 +0000 (+0000) Subject: Fix #9764: level indentation of toc is incorrect. X-Git-Tag: 1.31.0-rc.0~53114 X-Git-Url: http://git.cyclocoop.org/data/Fool?a=commitdiff_plain;h=4b265312298e79b11b939d057316a69eff1689bc;p=lhc%2Fweb%2Fwiklou.git Fix #9764: level indentation of toc is incorrect. Caused by r21725. --- diff --git a/includes/Parser.php b/includes/Parser.php index fc47545922..c4396c2b9d 100644 --- a/includes/Parser.php +++ b/includes/Parser.php @@ -3499,6 +3499,7 @@ class Parser if( $toclevel ) { $prevlevel = $level; + $prevtoclevel = $toclevel; } $level = $matches[1][$headlineCount];