r87241 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r87240‎ | r87241 | r87242 >
Date:10:38, 2 May 2011
Author:maxsem
Status:ok
Tags:
Comment:
HTML encoding
Modified paths:
  • /trunk/extensions/ApiSandbox/ext.apiSandbox.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ApiSandbox/ext.apiSandbox.js
@@ -103,7 +103,7 @@
104104 element.html(
105105 mw.html.element( 'img',
106106 { src: mw.config.get( 'stylepath' ) + '/common/images/spinner.gif', alt: '' } )
107 - + mw.msg( 'apisb-loading' ) );
 107+ + mw.html.escape( mw.msg( 'apisb-loading' ) ) );
108108 }
109109
110110 function showLoadError( element, message ) {

Status & tagging log