dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
feb72b4
)
Fix for Bug 1620, Wiki-table nnd tag strips whole line, hiding text after table
author
Domas Mituzas
<midom@users.mediawiki.org>
Fri, 4 Mar 2005 10:24:07 +0000
(10:24 +0000)
committer
Domas Mituzas
<midom@users.mediawiki.org>
Fri, 4 Mar 2005 10:24:07 +0000
(10:24 +0000)
Bug reported and patch supplied by: Andrius Ramanauskas (Knutux) - alarm at takas.lt
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
0a19fb0
..
bf04c12
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-552,7
+552,7
@@
class Parser
}
else if ( count ( $td ) == 0 ) { } # Don't do any of the following
else if ( '|}' == substr ( $x , 0 , 2 ) ) {
- $z = "</table>
\n"
;
+ $z = "</table>
" . substr ( $x , 2) . "\n"
;
$l = array_pop ( $ltd ) ;
if ( array_pop ( $tr ) ) $z = '</tr>' . $z ;
if ( array_pop ( $td ) ) $z = '</'.$l.'>' . $z ;