Index: trunk/extensions/CSS/CSS.php |
— | — | @@ -13,7 +13,7 @@ |
14 | 14 | |
15 | 15 | if (!defined('MEDIAWIKI')) die('Not an entry point.'); |
16 | 16 | |
17 | | -define('CSS_VERSION', '1.0.5, 2008-07-31'); |
| 17 | +define('CSS_VERSION', '1.0.4, 2008-06-01'); |
18 | 18 | |
19 | 19 | $wgCSSMagic = "css"; |
20 | 20 | $wgExtensionFunctions[] = 'wfSetupCSS'; |
— | — | @@ -41,7 +41,7 @@ |
42 | 42 | if (ereg('\\{', $css)) { |
43 | 43 | |
44 | 44 | # Inline CSS |
45 | | - $css = trim(Sanitizer::checkCss($css)); |
| 45 | + $css = htmlspecialchars(trim(Sanitizer::checkCss($css))); |
46 | 46 | $parser->mOutput->addHeadItem( <<<EOT |
47 | 47 | <style type="text/css"> |
48 | 48 | /*<![CDATA[*/ |