r24431 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r24430‎ | r24431 | r24432 >
Date:18:35, 29 July 2007
Author:thomasv
Status:old
Tags:
Comment:
escape & in html
Modified paths:
  • /trunk/extensions/ProofreadPage/proofread.js (modified) (history)

Diff [purge]

Index: trunk/extensions/ProofreadPage/proofread.js
@@ -94,6 +94,11 @@
9595 }
9696 }
9797
 98+ //escape & character
 99+ pageBody = pageBody.split("&").join("&")
 100+ pageHeader = pageHeader.split("&").join("&")
 101+ pageFooter = pageFooter.split("&").join("&")
 102+
98103 container.innerHTML = ''
99104 +'<div id="prp_header" style="display:none">Header (noinclude):<br/>'
100105 +'<textarea name="headerTextbox" rows="4" cols="80">'+pageHeader+'</textarea>'

Status & tagging log