Index: trunk/extensions/ProofreadPage/proofread.js |
— | — | @@ -94,6 +94,11 @@ |
95 | 95 | } |
96 | 96 | } |
97 | 97 | |
| 98 | + //escape & character |
| 99 | + pageBody = pageBody.split("&").join("&") |
| 100 | + pageHeader = pageHeader.split("&").join("&") |
| 101 | + pageFooter = pageFooter.split("&").join("&") |
| 102 | + |
98 | 103 | container.innerHTML = '' |
99 | 104 | +'<div id="prp_header" style="display:none">Header (noinclude):<br/>' |
100 | 105 | +'<textarea name="headerTextbox" rows="4" cols="80">'+pageHeader+'</textarea>' |