Searched refs:Escape (Results 1 - 23 of 23) sorted by relevance

/yui3/src/escape/js/
H A Descape.js5 @class Escape
20 Escape = {
45 return (string + '').replace(/[&<>"'\/`]/g, Escape._htmlReplacer);
85 Escape.regexp = Escape.regex;
87 Y.Escape = Escape;
/yui3/build/escape/
H A Descape-debug.js7 @class Escape
22 Escape = {
47 return (string + '').replace(/[&<>"'\/`]/g, Escape._htmlReplacer);
87 Escape.regexp = Escape.regex;
89 Y.Escape = Escape;
/yui3/build/highlight-accentfold/
H A Dhighlight-accentfold-debug.js16 Escape = Y.Escape,
90 chunk = Escape.html(results[i][0]);
93 chunk += template.replace(/\{s\}/g, Escape.html(match));
134 return template.replace(/\{s\}/g, Escape.html(word));
137 return Escape.html(word);
/yui3/src/highlight/js/
H A Dhighlight-accentfold.js14 Escape = Y.Escape,
88 chunk = Escape.html(results[i][0]);
91 chunk += template.replace(/\{s\}/g, Escape.html(match));
132 return template.replace(/\{s\}/g, Escape.html(word));
135 return Escape.html(word);
H A Dhighlight-base.js26 Escape = Y.Escape,
145 // Escape HTML characters and special regular expression characters in
152 validNeedles.push(Escape.regex(esc ? Escape.html(needle) : needle));
156 // Escape HTML characters in the haystack to prevent HTML injection.
158 haystack = Escape.html(haystack);
269 return template.replace(/\{s\}/g, Escape.html(word));
272 return Escape.html(word);
/yui3/build/swf/
H A Dswf-debug.js14 Escape = Y.Escape,
79 objstring += 'type="' + FLASH_TYPE + '" data="' + Escape.html(flashURL) + '" ';
88 objstring += '<param name="movie" value="' + Escape.html(flashURL) + '"/>';
93 objstring += '<param name="' + Escape.html(attribute) + '" value="' + Escape.html(p_oAttributes.fixedAttributes[attribute]) + '"/>';
100 flashvarstring += "&" + Escape.html(flashvar) + "=" + Escape.html(encodeURIComponent(fvar));
/yui3/build/highlight-base/
H A Dhighlight-base-debug.js28 Escape = Y.Escape,
147 // Escape HTML characters and special regular expression characters in
154 validNeedles.push(Escape.regex(esc ? Escape.html(needle) : needle));
158 // Escape HTML characters in the haystack to prevent HTML injection.
160 haystack = Escape.html(haystack);
271 return template.replace(/\{s\}/g, Escape.html(word));
274 return Escape.html(word);
/yui3/src/escape/tests/functional/
H A Descape-test.js4 Escape = Y.Escape;
7 name: 'Escape',
10 Assert.areSame('&amp;&lt;&gt;&quot;&#x27;&#x2F;&#x60;', Escape.html('&<>"\'/`'));
11 Assert.areSame('&amp;&amp;&amp;', Escape.html('&&&'));
12 Assert.areSame('&lt;&lt;&lt;', Escape.html('<<<'));
13 Assert.areSame('&gt;&gt;&gt;', Escape.html('>>>'));
14 Assert.areSame('&quot;&quot;&quot;', Escape.html('"""'));
15 Assert.areSame('&#x27;&#x27;&#x27;', Escape.html("'''"));
16 Assert.areSame('&#x2F;&#x2F;&#x2F;', Escape
[all...]
/yui3/src/swf/js/
H A Dswf.js12 Escape = Y.Escape,
77 objstring += 'type="' + FLASH_TYPE + '" data="' + Escape.html(flashURL) + '" ';
86 objstring += '<param name="movie" value="' + Escape.html(flashURL) + '"/>';
91 objstring += '<param name="' + Escape.html(attribute) + '" value="' + Escape.html(p_oAttributes.fixedAttributes[attribute]) + '"/>';
98 flashvarstring += "&" + Escape.html(flashvar) + "=" + Escape.html(encodeURIComponent(fvar));
/yui3/src/handlebars/js/
H A Dyui-handlebars-utils.js46 // Unlike Handlebars' escaping implementation, Y.Escape.html() will
51 return Y.Escape.html(string);
/yui3/src/autocomplete/js/
H A Dautocomplete-base.js64 var Escape = Y.Escape, variable
458 display: Escape.html(text),
/yui3/build/autocomplete-base/
H A Dautocomplete-base-debug.js66 var Escape = Y.Escape,
460 display: Escape.html(text),
/yui3/build/handlebars-base/
H A Dhandlebars-base-debug.js152 // Unlike Handlebars' escaping implementation, Y.Escape.html() will
157 return Y.Escape.html(string);
283 return '<a href="' + Y.Escape.html(this.url) + '">' +
284 Y.Escape.html(this.text) + '</a>';
/yui3/src/graphics/docs/assets/js/
H A Dpath-tool.js179 objName = Y.Escape.html(inpObjName.get('value'));
/yui3/build/datatable-body/
H A Ddatatable-body-debug.js16 htmlEscape = Y.Escape.html,
/yui3/build/model/
H A Dmodel-debug.js308 attribute. The value is escaped using `Y.Escape.html()`.
316 return Y.Escape.html(Lang.isValue(value) ? String(value) : '');
/yui3/src/app/js/
H A Dmodel-list.js408 The values are escaped using `Escape.html()`.
418 return Y.Escape.html(AttrProto.get.apply(this, arguments));
H A Dmodel.js306 attribute. The value is escaped using `Y.Escape.html()`.
314 return Y.Escape.html(Lang.isValue(value) ? String(value) : '');
/yui3/src/datatable/js/
H A Dbody.js14 htmlEscape = Y.Escape.html,
H A Dcore.js258 setter: Y.Escape.html
/yui3/build/datatable-core/
H A Ddatatable-core-debug.js260 setter: Y.Escape.html
/yui3/build/model-list/
H A Dmodel-list-debug.js410 The values are escaped using `Escape.html()`.
420 return Y.Escape.html(AttrProto.get.apply(this, arguments));
/yui3/src/app/tests/
H A Dmodel-test.js305 Assert.areSame(Y.Escape.html(value), model.getAsHTML('foo'));

Completed in 1890 milliseconds