https://www.mediawiki.org/wiki/Special:Code/MediaWiki/113488
Revision: 113488
Author: maxsem
Date: 2012-03-09 17:30:07 +0000 (Fri, 09 Mar 2012)
Log Message:
-----------
Bug 35086 - Expand brokens show bad labels on non-western alphabets
Modified Paths:
--------------
trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php
Modified: trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php
===================================================================
--- trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php
2012-03-09 17:24:57 UTC (rev 113487)
+++ trunk/extensions/MobileFrontend/templates/ApplicationTemplate.php
2012-03-09 17:30:07 UTC (rev 113488)
@@ -40,8 +40,8 @@
$startLinkTag = "<link
href='{$this->data['wgExtensionAssetsPath']}/MobileFrontend/stylesheets/";
$endLinkTag = "' media='all' rel='Stylesheet' type='text/css'
/>";
$filePageStyle = ( $this->data['isFilePage'] ) ? $startLinkTag
. 'filepage.css' . $endLinkTag : '';
- $buttonHideText = htmlentities( $this->data['hideText'],
ENT_QUOTES );
- $buttonShowText = htmlentities( $this->data['showText'],
ENT_QUOTES );
+ $buttonHideText = Xml::escapeJsString( $this->data['hideText']
);
+ $buttonShowText = Xml::escapeJsString( $this->data['showText']
);
$applicationHtml = <<<HTML
_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs