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:
7b3b4e0
)
Removed PST <br> conversion, unnecessary, was annoying people
author
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 30 May 2004 02:34:44 +0000
(
02:34
+0000)
committer
Tim Starling
<tstarling@users.mediawiki.org>
Sun, 30 May 2004 02:34:44 +0000
(
02:34
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
003198a
..
5da9c97
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-1881,11
+1881,13
@@
class Parser
);
$text = str_replace(array_keys($pairs), array_values($pairs), $text);
// now with regexes
+ /*
$pairs = array(
"/<br.+(clear|break)=[\"']?(all|both)[\"']?\\/?>/i" => '<br style="clear:both;"/>',
"/<br *?>/i" => "<br/>",
);
$text = preg_replace(array_keys($pairs), array_values($pairs), $text);
+ */
$text = $this->strip( $text, $stripState, false );
$text = $this->pstPass2( $text, $user );
$text = $this->unstrip( $text, $stripState );