Skip to content
Myr

htmlEscape -> escape

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Tj Holowaychuk · committed by Tj Holowaychuk · parent 8420ae9 · Browse files · 2 files+2 added−2 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

2 files+2 added−2 removed

  • other:+2 added−2 removed

2 files+2 added−2 removed

modified:lib/request.js+1 added-1 removed
195 unmodified lines
196 var i = 2197 , args = arguments198 , formatters = this.app.flashFormatters || {};199 formatters.__proto__ = flashFormatters;200 msg = utils.miniMarkdown(utils.htmlEscape(msg));200 msg = utils.miniMarkdown(utils.escape(msg));201 msg = msg.replace(/%([a-zA-Z])/g, function(_, format){202 var formatter = formatters[format];203 if (formatter) return formatter(args[i++]);204 });
85 unmodified lines
modified:lib/utils.js+1 added-1 removed