Index: branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php |
— | — | @@ -40,8 +40,8 @@ |
41 | 41 | $startLinkTag = "<link href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/"; |
42 | 42 | $endLinkTag = "' media='all' rel='Stylesheet' type='text/css' />"; |
43 | 43 | $filePageStyle = ( $this->data['isFilePage'] ) ? $startLinkTag . 'filepage.css' . $endLinkTag : ''; |
44 | | - $buttonHideText = htmlentities( $this->data['hideText'], ENT_QUOTES ); |
45 | | - $buttonShowText = htmlentities( $this->data['showText'], ENT_QUOTES ); |
| 44 | + $buttonHideText = Xml::escapeJsString( $this->data['hideText'] ); |
| 45 | + $buttonShowText = Xml::escapeJsString( $this->data['showText'] ); |
46 | 46 | |
47 | 47 | |
48 | 48 | $applicationHtml = <<<HTML |
Property changes on: branches/wmf/1.19wmf1/extensions/MobileFrontend/templates/ApplicationTemplate.php |
___________________________________________________________________ |
Modified: svn:mergeinfo |
49 | 49 | Merged /trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php:r113488 |