aboutsummaryrefslogtreecommitdiffstats
path: root/node_modules/ejs/lib/utils.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/ejs/lib/utils.js')
-rw-r--r--node_modules/ejs/lib/utils.js23
1 files changed, 0 insertions, 23 deletions
diff --git a/node_modules/ejs/lib/utils.js b/node_modules/ejs/lib/utils.js
deleted file mode 100644
index 8d569d6..0000000
--- a/node_modules/ejs/lib/utils.js
+++ /dev/null
@@ -1,23 +0,0 @@
-
-/*!
- * EJS
- * Copyright(c) 2010 TJ Holowaychuk <tj@vision-media.ca>
- * MIT Licensed
- */
-
-/**
- * Escape the given string of `html`.
- *
- * @param {String} html
- * @return {String}
- * @api private
- */
-
-exports.escape = function(html){
- return String(html)
- .replace(/&(?!\w+;)/g, '&amp;')
- .replace(/</g, '&lt;')
- .replace(/>/g, '&gt;')
- .replace(/"/g, '&quot;');
-};
- \ No newline at end of file