Index: trunk/phase3/includes/Parser_OldPP.php |
— | — | @@ -2146,7 +2146,7 @@ |
2147 | 2147 | $inBlockElem = true; |
2148 | 2148 | } |
2149 | 2149 | } else if ( !$inBlockElem && !$this->mInPre ) { |
2150 | | - if ( ' ' == $t{0} and ( $this->mLastSection == 'pre' or trim($t) != '' ) ) { |
| 2150 | + if ( '' != $t and ' ' == $t{0} and ( $this->mLastSection == 'pre' or trim($t) != '' ) ) { |
2151 | 2151 | // pre |
2152 | 2152 | if ($this->mLastSection != 'pre') { |
2153 | 2153 | $paragraphStack = false; |
Index: trunk/phase3/RELEASE-NOTES |
— | — | @@ -141,6 +141,7 @@ |
142 | 142 | * (bug 13532) Use proper timestamp call when reverting images |
143 | 143 | * (bug 13543) Updated FAQ link in the installer sidebar |
144 | 144 | * (bug 13540) Date format in confirmation e-mail now matches message language |
| 145 | +* (bug 13554) PHP Notice in old pre-processor when list item is empty. |
145 | 146 | |
146 | 147 | |
147 | 148 | === API changes in 1.13 === |