summaryrefslogtreecommitdiffstats
path: root/htmlChars
diff options
context:
space:
mode:
Diffstat (limited to 'htmlChars')
-rw-r--r--htmlChars22
1 files changed, 22 insertions, 0 deletions
diff --git a/htmlChars b/htmlChars
new file mode 100644
index 0000000..3114945
--- /dev/null
+++ b/htmlChars
@@ -0,0 +1,22 @@
+module.exports = {
+ '"': '\"',
+ '"': '\"',
+ ''': '\\',
+ ''': '\\',
+ '&': '&',
+ '&': '&',
+ '>': '>',
+ '>': '>',
+ '&lt;': '<',
+ '&#60;': '<',
+ '&cent;': '¢',
+ '&#162;': '¢',
+ '&copy;': '©',
+ '&#169;': '©',
+ '&euro;': '€',
+ '&#8364;': '€',
+ '&pound;': '£',
+ '&#163;': '£',
+ '&reg;': '®',
+ '&#174;': '®'
+};