Lines Matching refs:replace

428                     return "float" == a ? e : a.replace(/-./g, function(a) {
441 …eturn void 0 === a || null === a ? "" : String(a).replace(b, "\x26amp;").replace(c, "\x26gt;").rep…
444 return a.replace(k, n)
447 return CKEDITOR.tools.htmlEncode(a).replace(h, "\x26quot;")
454 v = this.htmlEncode(a.replace(/\r\n/g, "\n")),
455 v = v.replace(/\t/g, "\x26nbsp;\x26nbsp; \x26nbsp;"),
461 v = d + v.replace(g, function() {
465 v = v.replace(/\n/g, "\x3cbr\x3e");
466 b || (v = v.replace(new RegExp("\x3cbr\x3e(?\x3d\x3c/" + c + "\x3e)"), function(a) {
469 v = v.replace(/^ | $/g, "\x26nbsp;");
470 return v = v.replace(/(>|\s) /g,
473 }).replace(/ (?=<)/g, "\x26nbsp;")
524 return e.replace(a, "")
530 return e.replace(a, "")
537 return e.replace(a, "")
653 … return a.replace(/(?:rgb\(\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*\))/gi, function(a, b, c, g) {
660 return a.replace(/#(([0-9a-f]{3}){1,2})($|;|\s+)/gi, function(a, b, c, g) {
672 … a.replace(/&quot;/g, '"').replace(/\s*([^:;\s]+)\s*:\s*([^;]+)\s*(?=;|$)/g, function(a, b, g) {
673 …e && (b = b.toLowerCase(), "font-family" == b && (g = g.replace(/\s*,\s*/g, ",")), g = CKEDITOR.to…
712 a = a ? a.replace(/.+?(?:\.|$)/, "") : document.domain;
994 a = a.replace(b, "")
2029 replace: function(a) {
2202 this.$.open("text/html", "replace");
2203 …CKEDITOR.env.ie && (a = a.replace(/(?:^\s*<!DOCTYPE[^>]*?>)|^/i, '$\x26\n\x3cscript data-cke-temp\…
2269 return -1 < (" " + a + " ").replace(h, " ").indexOf(" " + b + " ")
2311 c && a(c, b) && ((c = c.replace(new RegExp("(?:^|\\s+)" +
2312 …b + "(?\x3d\\s|$)"), "").replace(/^\s+/, "")) ? this.setAttribute("class", c) : this.removeAttribu…
2372 return CKEDITOR.env.ie ? a.replace(/<\?[^>]*>/g, "") : a
2375 if (this.$.outerHTML) return this.$.outerHTML.replace(/<\?[^>]*>/, "");
2955 return a.getHtml().replace(/\s*data-cke-expando=".*?"/g, "")
2971 replace: 1,
3398 …(m = m.getPrevious()) && m.type == CKEDITOR.NODE_TEXT;) f += m.getText().replace(CKEDITOR.dom.sele…
4468 …for (A in t) - 1 < A.indexOf("*") ? q.push(new RegExp("^" + A.replace(/\*/g, ".*") + "$")) : q.pus…
4609 e.toHtml && (b.name = b.name.replace(w, "$1"));
4671 …for (G in h) k[G] || (O.test(G) ? G == (N = G.replace(/^data-cke-saved-/, "")) || k[N] || (delete …
4685 e.toHtml && (b.name = b.name.replace(A, "cke:$1"));
4692 for (c in a) - 1 < c.indexOf("*") && b.push(c.replace(/\*/g, ".*"));
4905 … var d = decodeURIComponent(a.value.replace(/^\{cke_protected\}/, ""));c = [];
5544 b || (d = d.replace(/[^\/]+$/, function(a) {
5814 return a.replace(/\s/g, "")
5820 if (f) var h = new RegExp("(?:^|,)(?:" + f.replace(/,/g, "|") + ")(?\x3d,|$)", "g"),
5821 d = d.replace(h, ""),
5823 if (e) var g = new RegExp("(?:^|,)(?:" + e.replace(/,/g, "|") + ")(?\x3d,|$)", "g"),
5824 d = d.replace(g, "");
5841 plugin: p.replace(",", ""),
5844 …CKEDITOR.tools.indexOf(t, a.langCode) ? k = a.langCode : (k = a.langCode.replace(/-.*/, ""), k = k…
6484 l || K || (a = a.replace(/[\t\r\n ]{2,}|[\t\r\n]/g, " "));
6672 …lyToAll || a.nestedEditable && g.options.excludeNestedEditable || (c = c.replace(g.value[0], g.val…
6781 return a.replace(M,
6783 return "\x3c" + b + c.replace(q, function(a, b) {
6790 return a.replace(b, function(a, b, c) {
6791 …0 === a.indexOf("\x3ctextarea") && (a = b + B(c).replace(/</g, "\x26lt;").replace(/>/g, "\x26gt;")…
6797 return a.replace(P, function(a, b) {
6803 return a.replace(/\x3c!--(?!{cke_protected})[\s\S]+?--\x3e/g,
6805 … return "\x3c!--" + J + "{C}" + encodeURIComponent(a).replace(/--/g, "%2D%2D") + "--\x3e"
6810 return a.replace(/\x3c!--\{cke_protected\}\{C\}([\s\S]+?)--\x3e/g, function(a, b) {
6817 return a.replace(/\x3c!--\{cke_protected\}([\s\S]+?)--\x3e/g, function(a, b) {
6819 }).replace(/\{cke_protected_(\d+)\}/g, function(a, b) {
6832 a = a.replace(/\x3c!--[\s\S]*?--\x3e/g, function(a) {
6835 for (var l = 0; l < d.length; l++) a = a.replace(d[l], function(a) {
6836 a = a.replace(e, function(a, b, d) {
6841 a = a.replace(e, function(a, b, d) {
6843 "") + encodeURIComponent(c[d]).replace(/--/g, "%2D%2D") + "--\x3e"
6845 …a = a.replace(/<\w+(?:\s+(?:(?:[^\s=>]+\s*=\s*(?:[^'"\s>]+|'[^']*'|"[^"]*"))|[^\s=\/>]+))+\s*\/?>/…
6846 return a.replace(/\x3c!--\{cke_protected\}([^>]*)--\x3e/g, function(a, b) {
6851 … return a = a.replace(/<(title|iframe|textarea)([^>]*)>([\s\S]*?)<\/\1>/g, function(a, c, d, f) {
6883 c = c.replace(O, "$1cke:$2"),
6884 c = c.replace(N, "\x3ccke:$1$2\x3e\x3c/cke:$1\x3e"),
6885 c = c.replace(/(<pre\b[^>]*>)(\r\n|\n)/g, "$1$2$2"),
6886 … c = c.replace(/([^a-z0-9<\-])(on\w{3,})(?!>)/gi, "$1data-cke-" + CKEDITOR.rnd + "-$2");
6893 c = c.replace(new RegExp("data-cke-" + CKEDITOR.rnd + "-", "ig"), "");
6894 l && (c = c.replace(/^<pre>|<\/pre>$/gi, ""));
6895 c = c.replace(p, "$1$2");
6920 a.data.enterMode != CKEDITOR.ENTER_BR && (c = c.replace(/^<br *\/?>/i, ""));
6990 var b = a.attributes.src.toLowerCase().replace(/[^a-z]/gi, "");
7070 return CKEDITOR.tools.ltrim(a.replace(/(?:^|\s+)cke_[^\s]*/g, "")) || !1
7075 return a.replace(/(^|;)([^\:]+)/g,
7108 …CKEDITOR.htmlParser.element ? a.attributes.style : a) || "").replace(/&quot;/g, '"').replace(/\s*(…
7109 "font-family" == c && (f = f.replace(/["']/g, ""));
7248 …b && ((b = CKEDITOR.tools.trim(b.replace(new RegExp("(?:\\s+|^)" + a + "(?:\\s+|$)"), " "))) ? thi…
7277 var c = this.source.replace(a, function(a, b) {
7444 CKEDITOR.replace = function(b, d) {
7458 this.replace(k, d)
7868 … this.is("textarea") || !1 !== a.config.ignoreEmptyParagraph && (b = b.replace(D, function(a, b) {
7990 ….data.$.button && (b = b.data.getTarget(), !b.getAscendant("table") && !b.getOuterHtml().replace(D,
8885 return b ? a.replace(K, function(a, b) {
8887 }) : a.replace(u, "")
9324 h = h.text.replace(/(\r\n|\r)/g, "\n").length;
9342 h = h.text.replace(/(\r\n|\r)/g, "\n").length;
9847 g = g.replace(/[ \t\r\n]*(<br[^>]*>)[ \t\r\n]*/gi, "$1");
9848 g = g.replace(/([ \t\n\r]+|&nbsp;)/g,
9850 g = g.replace(/<br\b[^>]*>/gi, "\n");
9860 b.replace(a);
9873 }).replace(/<pre\b.*?>([\s\S]*?)<\/pre>/gi, function(a, c) {
9882 …a = a.replace(/(^<span[^>]+data-cke-bookmark.*?\/span>)|(<span[^>]+data-cke-bookmark.*?\/span>$)/g…
9887 return d + a.replace(b, c) + e
9895 e = e.replace(/(\r\n|\r)/g, "\n"),
9901 e = e.replace(/\n/g, "\x3cbr\x3e"),
9902 e = e.replace(/[ \t]{2,}/g, function(a) {
9988 for (var c in a) a[c] = a[c].replace(E, function(a, c) {
10023 return "font-family" == b.toLowerCase() ? a.replace(/["']/g, "") : a
10238 c.length && (c = c.replace(q, ";"));
10241 g = (e + ":" + f).replace(q, ";");
10525 …if (g = c[f], d.ie && (g.replace(/^ie/, "") == d.version || d.quirks && "iequirks" == g) && (g = "…
10551 for (d = 0; d < c.length; d++) g = g.replace(c[d][0], c[d][1]);
10555 for (d = 0; d < c.length; d++) g = g.replace(c[d][0], c[d][1]);
10587 a && (a = a.replace(/'/g, "\\'"));
10701 return f[d].output(a).replace(/\[/g, "{").replace(/\]/g, "}")
11006 …on value\x3d"', CKEDITOR.tools.htmlEncode(void 0 !== l[1] ? l[1] : l[0]).replace(/"/g, "\x26quot;"…
11445 editorDialogClass: "cke_editor_" + a.name.replace(/\./g, "\\.") + "_dialog",
12852 …a = c.availableLangs[a] ? a : c.availableLangs[a.replace(/-.*/, "")] ? a.replace(/-.*/, "") : "en";
13291 b.replace(a)
13334 b.replace(f);
13688 titleJs: p.gecko && !p.hc ? "" : (this.title || "").replace("'", ""),
13704 …(a = a == CKEDITOR.TRISTATE_ON ? this._.editor.lang.button.selectedLabel.replace(/%1/g, this.label…
14126 …n = "string" === typeof e ? e : a.lang.clipboard.pasteNotification.replace(/%1/, '\x3ckbd aria-lab…
14273 c.dataValue = b.replace(/<span[^>]+data-cke-bookmark[^<]*?<\/span>/ig,
14411 …b = b.replace(/(?!\u3000)\s+/g, " ").replace(/> +</g, "\x3e\x3c").replace(/<br ?\/>/gi, "\x3cbr\x3…
14412 b = b.replace(/<\/?[A-Z]+>/g, function(a) {
14416 …b.indexOf("\x3cdiv\x3e") && (b = b.replace(/^(<div>(<br>|)<\/div>)(?!$|(<div>(<br>|)<\/div>))/g, "…
14417 …b.match(/<div>(<br>|)<\/div>/) && (b = "\x3cp\x3e" + b.replace(/(<div>(<br>|)<\/div>)+/g, function…
14419 … }) + "\x3c/p\x3e"), b = b.replace(/<\/div><div>/g, "\x3cbr\x3e"), b = b.replace(/<\/?div>/g, ""));
14420 …R.env.gecko && (b = b.replace(/^<br><br>$/, "\x3cbr\x3e")), -1 < b.indexOf("\x3cbr\x3e\x3cbr\x3e")…
14458 a.enterMode == CKEDITOR.ENTER_BR ? b = b.replace(/(<\/p><p>)+/g, function(a) {
14460 …}).replace(/<\/?p>/g, "") : a.enterMode == CKEDITOR.ENTER_DIV && (b = b.replace(/<(\/)?p>/g, "\x3c…
14606 …f("Apple-") && (b = b.replace(/<span class="Apple-converted-space">&nbsp;<\/span>/gi, " "), "html"…
14607 return b.replace(/\t/g, "\x26nbsp;\x26nbsp; \x26nbsp;")
14608 …L = 1, a.data.preSniffing = "html", b = b.replace(/<br class="Apple-interchange-newline">/, "")), …
14612 g && (b = g.getHtml().replace(/<br>$/i, ""))
14614 CKEDITOR.env.ie ? b = b.replace(/^&nbsp;(?: |\r\n)?<(\w+)/g, function(b, d) {
14616 … }) : CKEDITOR.env.webkit ? b = b.replace(/<\/(\w+)><div><br><\/div>$/, function(b, d) {
14619 }) : CKEDITOR.env.gecko && (b = b.replace(/(\s)<br>$/, "$1"));
14910 a = a.replace(this._.metaRegExp, "");
14912 b && b.length && (a = b[1], a = a.replace(this._.fragmentRegExp, ""))
15004 …xec(a)) && c[1] && (b.data = JSON.parse(decodeURIComponent(c[1])), b.content = a.replace(c[0], ""))
15625 …n[1] ? n = b : (b = "#" + b.replace(/^(.)(.)(.)$/, "$1$1$2$2$3$3"), n = e.lang.colorbutton.colors[…
15640 …return CKEDITOR.tools.normalizeHex("#" + CKEDITOR.tools.convertRgbToHex(a || "")).replace(/#/g, "")
16003 href: "javascript:void('" + (this.label || "").replace("'") + "')",
16292 … return a.type == CKEDITOR.NODE_ELEMENT ? (a = a.getHtml().replace(/<span.*?>&nbsp;<\/span>/g,
16293 ""), a.replace(/<.*?>/g, "")) : a.getText()
16665 …for (c = 0; c < g; c++) b = d[c], p = a.lang.elementspath.eleTitle.replace(/%1/, b), b = x.output({
16897 b = b.replace(/\b(nbsp|shy|gt|lt|amp|apos|quot)(?:,|$)/g, function(b, a) {
16944 return a.replace(l, f).replace(d, g)
17005 a = a.replace(m, "");
17148 …d.status], b.message || (b.message = b.lang.filetools.httpError.replace("%1", d.status)), b.change…
17337 c = a.addCommand("replace", new CKEDITOR.dialogCommand("find", {
17338 tabId: "replace"
17348 label: a.lang.find.replace,
17349 command: "replace",
17688 e = CKEDITOR.tools.htmlEncodeAttr(a).replace(k, "\\'");
17903 "").replace("'", ""),
18560 …"string" == typeof a && (this.forceSimpleAmpersand && (a = a.replace(/&amp;/g, "\x26")), a = CKEDI…
18845 … g = CKEDITOR.tools.buildStyleHtml(p()).replace(/<style>/, '\x3cstyle data-cke-temp\x3d"1"\x3e');
18849 d && (a = a.replace(/<!DOCTYPE[^>]*>/i, function(a) {
18852 }).replace(/<\?xml\s[^\?]*\?>/i, function(a) {
18857 …(a) ? /<title[\s|>]/.test(a) || (a = a.replace(/<head[^>]*>/, "$\x26\x3ctitle\x3e\x3c/title\x3e"))…
18858 …h && (a = a.replace(/<head[^>]*?>/, "$\x26" + h)), a = a.replace(/<\/head\s*>/, g + "$\x26"), a = …
18859 …CKEDITOR.env.gecko && (a = a.replace(/<body/, '\x3cbody contenteditable\x3d"true" '), 2E4 > CKEDIT…
18860 … (a = a.replace(/<body[^>]*>/, "$\x26\x3c!-- cke-content-start --\x3e")));
18864 a = a.replace(/(?=\s*<\/(:?head)>)/, c);
18887 …CKEDITOR.env.gecko && f.enterMode != CKEDITOR.ENTER_BR && (b = b.replace(/<br>(?=\s*(:?$|<\/body>)…
19109 … b.$.className = CKEDITOR.tools.ltrim(b.$.className.replace(this.classNameRegex, ""));
19252 e && e.listNode.replace(b);
19372 b && (b = b.replace(/(?:-(?:moz|webkit)-)?(?:start|auto)/i, ""));
19442 …var m = e && (g.$.className = CKEDITOR.tools.ltrim(g.$.className.replace(this.cssClassRegex, ""))),
19621 return c.replace(/'/g, "\\$\x26")
19642 c && "encode" != c && (b = {}, c.replace(/^([^(]+)\(([^)]+)\)$/, function(a, c, f) {
19645 f.replace(/[^,\s]+/g, function(a) {
19655 … return a.replace(/%1/g, "rtl" == b ? "right" : "left").replace(/%2/g, "cke_contents_" + b)
19663 …CKEDITOR.dialog.isTabEnabled(c, "link", "advanced") && (b = b.replace("]", ",accesskey,charset,dir…
19665 (b = b.replace("]", ",target,onclick]"));
19827 a.match(t) && ("encode" == f ? a = a.replace(A, function(a, b, c) {
19829 … return "mailto:" + String.fromCharCode.apply(String, b.split(",")) + c.replace(/\\'/g, "'")
19830 }) : f && a.replace(B, function(a, b, c) {
19836 …ength, f, h, k = 0; k < e; k++) f = decodeURIComponent, h = c[k].replace(b, "").replace(/\\'/g, "'…
20030 d.replace(m.root);
20166 … C && n.setAttribute("style", C.replace(/([^;])$/, "$1;") + (n.getAttribute("style") || ""));
20266 a.listNode.replace(h.root);
21236 …:#999 1px dotted;border-bottom:#999 1px dotted;padding:0;height:7px;cursor:default;").replace(/;/g,
21266 var c = a.replace("cke_pagebreak", "");
21326 …c = d && "string" === typeof d ? d : c.pastetext.pasteNotification.replace(/%1/, '\x3ckbd aria-lab…
21369 … 0 === c[b].indexOf("file://") && d[b] && (a.data.dataValue = a.data.dataValue.replace(c[b], d[b]))
21431 …if (b.fullPage) g = a.getData().replace(/<head>/, "$\x26" + f).replace(/[^>]*(?=<\/title>)/, "$\x2…
21455 …("(" + CKEDITOR.tools.fixDomain + ")();").replace(/\/\/.*?\n/g, "").replace(/parent\./g, "window.o…
21507 …| (a._.removeFormatRegex = new RegExp("^(?:" + a.config.removeFormatTags.replace(/,/g, "|") + ")$"…
21677 ….%2 \x3e tfoot \x3e tr \x3e th;{;border : #d3d3d3 1px dotted;}".split(";")).join("").replace(/%2/g,
21678 "cke_show_border").replace(/%1/g, "cke_show_borders ");
21716 … b && (a["class"] = b.replace("cke_show_border", "").replace(/\s{2}/, " ").replace(/^\s+|\s+$/,
21736 this.setValue(this.getValue().replace(/cke_show_border/, ""))
21903 …b = c.availableLangs[b] ? b : c.availableLangs[b.replace(/-.*/, "")] ? b.replace(/-.*/, "") : "en";
22067 …(c = c.replace(/\s/g, "")) ? (d && b.state.scayt[a.name] && d.setMarkupPaused && d.setMarkupPaused…
22400 … var l = "scayt_suggest_" + CKEDITOR.plugins.scayt.suggestions[d].replace(" ", "_");
22421 …ength; d++) l = "grayt_suggest_" + CKEDITOR.plugins.scayt.suggestions[d].replace(" ", "_"), a.addC…
22450 …oblemDescriptionText(e, k, g), b.grayt_problemdescription && n && (n = n.replace(/([.!?])\s/g, "$1…
22457 ….replace("scayt_", "")) && "all" != a.config.scayt_contextCommands || m && "grayt_problemdescripti…
22492 var d, a = a.replace(/\./g, "");
22493 c = c.replace(/\./g, "");
22668 if ("replace" === c) a.on("hide", function(a) {
24048 if (d && d.getParent()) f.replace(d);
24458 CKEDITOR.env.ie && c && (c = c.replace(/\s+data-cke-expando=".*?"/g, ""));
24468 … && (CKEDITOR.env.ie7Compat || CKEDITOR.env.quirks) && (b = b.replace(h, ""), a = a.replace(h, "")…
24997 …a && a.length && (a = a.replace(this.createFillerRegex(), "").replace(this.createFillerRegex(!0), …
25042 …var b = this.createFiller(a).getOuterHtml().replace(/style="[^"]*"/gi, 'style\x3d"[^"]*"').replace
25237 …b.parent.attributes["data-cke-white-space-first"] = 1, b.value = b.value.replace(/^\s/g, "\x26nbsp…
25238 …(c.parent.attributes["data-cke-white-space-last"] = 1, c.value = c.value.replace(/\s$/g, "\x26nbsp…
25481 (d.value = d.value.replace(/^&nbsp;/g, " "));
25482 … e.parent.attributes["data-cke-white-space-last"] && (e.value = e.value.replace(/&nbsp;$/g, " "))
25530 …WidgetElement), h.type == CKEDITOR.NODE_ELEMENT && h.data("widget") ? (h.replace(f), a.wrapElement…
25541 a.dataValue = a.dataValue.replace(X, W);
25683 …var b = this.getLabel ? this.getLabel() : this.editor.lang.widget.label.replace(/%1/, this.pathNam…
26065 a.getParent(!0) && c.replace(a);
26110 …-keep-attr"]), this.element.removeClass("cke_widget_element"), this.element.replace(this.wrapper));
26502 … message: 1 == b ? a.lang.uploadwidget.doneOne : a.lang.uploadwidget.doneMany.replace("%1", b),
26628 … (b = b.replace(/\s/g, "")) ? a.execCommand("checkspell"): alert("Nothing to check!")
26647 …emplates,456,,copyformatting,480,,creatediv,504,,find-rtl,528,,find,552,,replace,576,,flash,600,,b…
26648 …pyformatting,480,auto,creatediv,504,auto,find-rtl,528,auto,find,552,auto,replace,576,auto,flash,60…