Home | History | Annotate | Download | only in docs

Lines Matching refs:Replace

236           pattern += '|' + preceder.replace(/([^=<>:&])/g, '\\$1');
259 return str.replace(pr_amp, '&amp;')
260 .replace(pr_lt, '&lt;')
261 .replace(pr_gt, '&gt;')
262 .replace(pr_quot, '&quot;');
267 return str.replace(pr_amp, '&amp;')
268 .replace(pr_lt, '&lt;')
269 .replace(pr_gt, '&gt;');
303 return html.replace(pr_ltEnt, '<')
304 .replace(pr_gtEnt, '>')
305 .replace(pr_aposEnt, "'")
306 .replace(pr_quotEnt, '"')
307 .replace(pr_ampEnt, '&')
308 .replace(pr_nbspEnt, ' ');
506 .replace(/\s(\w+)\s*=\s*(?:\"([^\"]*)\"|'([^\']*)'|(\S+))/g,
995 .replace(lastWasSpace
1001 html.push(htmlChunk.replace(newlineRe, '<br />'));
1200 content = content.replace(/(?:\r\n?|\n)$/, '');
1207 // just replace the old html with the new
1232 // Replace <br>s with line-feeds so that copying and pasting works