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:
3962a5b
)
Remove old commented-out section which has some literals that break my editor's synta...
author
Brion Vibber
<brion@users.mediawiki.org>
Thu, 28 Oct 2004 01:22:49 +0000
(
01:22
+0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Thu, 28 Oct 2004 01:22:49 +0000
(
01:22
+0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
f66e68f
..
2ec45cb
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-2702,14
+2702,6
@@
class Parser
"\r\n" => "\n",
);
$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 );