Index: trunk/phase3/includes/Parser.php |
— | — | @@ -45,7 +45,7 @@ |
46 | 46 | class Parser |
47 | 47 | { |
48 | 48 | # Cleared with clearState(): |
49 | | - var $mOutput, $mAutonumber, $mLastSection, $mDTopen, $mStripState; |
| 49 | + var $mOutput, $mAutonumber, $mLastSection, $mDTopen, $mStripState = array(); |
50 | 50 | var $mVariables, $mIncludeCount; |
51 | 51 | |
52 | 52 | # Temporary: |
— | — | @@ -62,9 +62,9 @@ |
63 | 63 | $this->mAutonumber = 0; |
64 | 64 | $this->mLastSection = ""; |
65 | 65 | $this->mDTopen = false; |
66 | | - $this->mStripState = false; |
67 | 66 | $this->mVariables = false; |
68 | 67 | $this->mIncludeCount = array(); |
| 68 | + $this->mStripState = array(); |
69 | 69 | } |
70 | 70 | |
71 | 71 | # First pass--just handle <nowiki> sections, pass the rest off |
— | — | @@ -135,6 +135,7 @@ |
136 | 136 | { |
137 | 137 | $render = ($this->mOutputType == OT_HTML); |
138 | 138 | $nowiki_content = array(); |
| 139 | + $hiero_content = array(); |
139 | 140 | $math_content = array(); |
140 | 141 | $pre_content = array(); |
141 | 142 | |