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:
77b62e0
)
Wrap user styles in CDATA block on classic skins; fixes XHTML parsing error.
author
Brion Vibber
<brion@users.mediawiki.org>
Sat, 14 Aug 2004 09:10:46 +0000
(09:10 +0000)
committer
Brion Vibber
<brion@users.mediawiki.org>
Sat, 14 Aug 2004 09:10:46 +0000
(09:10 +0000)
includes/Skin.php
patch
|
blob
|
history
diff --git
a/includes/Skin.php
b/includes/Skin.php
index
fe9b5b9
..
f84e340
100644
(file)
--- a/
includes/Skin.php
+++ b/
includes/Skin.php
@@
-201,9
+201,9
@@
class Skin {
{
global $wgOut, $wgStylePath, $wgLang;
$s = "<style type='text/css'>\n";
- $s .= "/*/*/\n"; # <-- Hide the styles from Netscape 4 without hiding them from IE/Mac
+ $s .= "/*/*/
/*<![CDATA[*/
\n"; # <-- Hide the styles from Netscape 4 without hiding them from IE/Mac
$s .= $this->getUserStylesheet();
- $s .= "/* */\n";
+ $s .= "/*
]]>*/ /*
*/\n";
$s .= "</style>\n";
return $s;
}