Index: branches/REL1_17/extensions/DoubleWiki/DoubleWiki_body.php |
— | — | @@ -109,7 +109,6 @@ |
110 | 110 | return true; |
111 | 111 | } |
112 | 112 | |
113 | | - |
114 | 113 | /* |
115 | 114 | * Format the text as a two-column table with aligned paragraphs |
116 | 115 | */ |
— | — | @@ -193,8 +192,6 @@ |
194 | 193 | return $head . $body . "</table>" ; |
195 | 194 | } |
196 | 195 | |
197 | | - |
198 | | - |
199 | 196 | /* |
200 | 197 | * Split text and return a set of html-balanced paragraphs |
201 | 198 | */ |
— | — | @@ -223,7 +220,6 @@ |
224 | 221 | return $result; |
225 | 222 | } |
226 | 223 | |
227 | | - |
228 | 224 | /* |
229 | 225 | * Split text and return a set of html-balanced slices |
230 | 226 | */ |
— | — | @@ -253,7 +249,6 @@ |
254 | 250 | */ |
255 | 251 | $stack = array(); |
256 | 252 | for( $i=0 ; $i < $n ; $i++) { |
257 | | - $bits = preg_split( $this->tags, $left_slices[$i] ); |
258 | 253 | preg_match_all( $this->tags, $left_slices[$i], $m, PREG_SET_ORDER); |
259 | 254 | $counter = 0; |
260 | 255 | for($k=0 ; $k < count($m) ; $k++) { |
— | — | @@ -262,7 +257,7 @@ |
263 | 258 | $counter++; |
264 | 259 | array_push($stack, $t); |
265 | 260 | } else { |
266 | | - $tt = array_pop($stack); |
| 261 | + array_pop($stack); |
267 | 262 | $counter--; |
268 | 263 | } |
269 | 264 | } |
— | — | @@ -277,7 +272,7 @@ |
278 | 273 | } else if( $i == $n - 1 ) { |
279 | 274 | $left_slices[$i] = $opening . $left_slices[$i]; |
280 | 275 | } else if( $counter != 0 ) { |
281 | | - $left_slices[$i+1] = $left_slices[$i] . $left_slices[$i+1]; |
| 276 | + $left_slices[$i + 1] = $left_slices[$i] . $left_slices[$i+1]; |
282 | 277 | $left_slices[$i] = ''; |
283 | 278 | } |
284 | 279 | } |
Property changes on: branches/REL1_17/extensions/DoubleWiki |
___________________________________________________________________ |
Added: svn:mergeinfo |
285 | 280 | Merged /trunk/extensions/DoubleWiki:r81672 |