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:
6cd5179
)
Introducing broken changes in commits meant to fix broken changes is vaguely ironic.
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Sun, 4 Mar 2007 16:11:25 +0000
(16:11 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Sun, 4 Mar 2007 16:11:25 +0000
(16:11 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
26e532c
..
14d45bd
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-4562,7
+4562,7
@@
class Parser
.+? # Section title...
\\2 # Ending = count must match start
(?:$comment|<\/?noinclude>|[ \\t]+)* # Trailing whitespace ok
- \n?
+ $
|
<h([1-6])\b.*?>
.*?
@@
-4721,7
+4721,7
@@
class OnlyIncludeReplacer {
if ( substr( $matches[1], -1 ) == "\n" ) {
$this->output .= substr( $matches[1], 0, -1 );
} else {
- $this->output .= $matche
s[1];
+ $this->output .= $matches[1];
}
}
}