Version 1
[yaffs-website] / node_modules / underscore.string / helper / htmlEntities.js
diff --git a/node_modules/underscore.string/helper/htmlEntities.js b/node_modules/underscore.string/helper/htmlEntities.js
new file mode 100644 (file)
index 0000000..7bd74cb
--- /dev/null
@@ -0,0 +1,19 @@
+/*
+We're explicitly defining the list of entities that might see in escape HTML strings
+*/
+var htmlEntities = {
+  nbsp: ' ',
+  cent: '¢',
+  pound: '£',
+  yen: '¥',
+  euro: '€',
+  copy: '©',
+  reg: '®',
+  lt: '<',
+  gt: '>',
+  quot: '"',
+  amp: '&',
+  apos: "'"
+};
+
+module.exports = htmlEntities;