http://www.mediawiki.org/wiki/Special:Code/MediaWiki/97285
Revision: 97285 Author: jeroendedauw Date: 2011-09-16 15:05:00 +0000 (Fri, 16 Sep 2011) Log Message: ----------- use style args that are escaped; not strictrly needed here as the vars have already been sanitized, but good practice won't hurt Modified Paths: -------------- trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php Modified: trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php =================================================================== --- trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php 2011-09-16 15:04:49 UTC (rev 97284) +++ trunk/extensions/SemanticMaps/includes/queryprinters/SM_MapPrinter.php 2011-09-16 15:05:00 UTC (rev 97285) @@ -207,7 +207,12 @@ 'div', array( 'id' => $mapName, - 'style' => "width: {$params['width']}; height: {$params['height']}; background-color: #cccccc; overflow: hidden;", + 'style' => array( + 'width' => $params['width'], + 'height' => $params['height'], + 'background-color' => '#cccccc', + 'overflow' => 'hidden' + ) ), wfMsg( 'maps-loading-map' ) ); _______________________________________________ MediaWiki-CVS mailing list MediaWiki-CVS@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs