Lines Matching refs:replace
42 html = html.replace(/~~OPEN_HTML_BLOCK~~/gm , '~~START_HTML_BLOCK~~') ;
43 html = html.replace(/~~END_HTML_BLOCK~~/gm , '~~CLOSE_HTML_BLOCK~~') ;
46 html = html.replace(/~~START_HTML_BLOCK~~|~~CLOSE_HTML_BLOCK~~/gm,"");
49 …html = html.replace(/(<p.*?>)*\s*~~START_HTML_BLOCK~~\s*(<\/p>)*([\s\S]+)~~CLOSE_HTML_BLOCK~~\s*(<…
50 text = text.replace(/<\/?div.*?>/gm,"");
51 text = text.replace(/<code>/gm,"");
52 text = text.replace(/<\/code>/gm,"");
53 text = text.replace(/</gm,"<");
54 text = text.replace(/<\//gm,">");
59 …html = html.replace(/(<sup\s+class=\"dwfcknote fckgL\d+\"\>fckgL\d+\s*\<\/sup\>)\<\/a\>/gm, functi…
91 match[0].replace( endTag, parseEndTag );
101 match[0].replace( startTag, parseStartTag );
117 html = html.replace(new RegExp("(.*)<\/" + stack.last() + "[^>]*>"), function(all, text){
118 text = text.replace(/<!--(.*?)-->/g, "$1")
119 .replace(/<!\[CDATA\[(.*?)]]>/g, "$1");
157 rest.replace(attr, function(match, name) {
166 escaped: value.replace(/(^|[^\\])"/g, '$1\\\"') //"