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:
919db72
)
div again, we don't really know what will be inside the center tags. Could be another...
author
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 15 Apr 2004 16:06:25 +0000
(16:06 +0000)
committer
Gabriel Wicke
<gwicke@users.mediawiki.org>
Thu, 15 Apr 2004 16:06:25 +0000
(16:06 +0000)
includes/Parser.php
patch
|
blob
|
history
diff --git
a/includes/Parser.php
b/includes/Parser.php
index
49fdedc
..
6761647
100644
(file)
--- a/
includes/Parser.php
+++ b/
includes/Parser.php
@@
-96,8
+96,8
@@
class Parser
$fixtags = array(
"/<hr *>/i" => '<hr/>',
"/<br *>/i" => '<br/>',
- "/<center *>/i"=>'<
p
style="text-align:center;">',
- "/<\\/center *>/i" => '</
p
>',
+ "/<center *>/i"=>'<
div
style="text-align:center;">',
+ "/<\\/center *>/i" => '</
div
>',
# Clean up spare ampersands; note that we probably ought to be
# more careful about named entities.
'/&(?!:amp;|#[Xx][0-9A-fa-f]+;|#[0-9]+;|[a-zA-Z0-9]+;)/' => '&'