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:
dea42df
)
\n rather than \n (although they both seem to work)
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sun, 2 May 2004 23:53:10 +0000
(23:53 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Sun, 2 May 2004 23:53:10 +0000
(23:53 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
cd1469b
..
159b271
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1515,7
+1515,7
@@
class Parser
$htmlattrs = $this->getHTMLattrs () ;
# Remove HTML comments
- $text = preg_replace( "/(\
n *<!--.*--> *(?=
\n)|<!--.*-->)/sU", "$2", $text );
+ $text = preg_replace( "/(\
\n *<!--.*--> *(?=\
\n)|<!--.*-->)/sU", "$2", $text );
$bits = explode( "<", $text );
$text = array_shift( $bits );