Fix Stuff

This commit is contained in:
Daniel Odendahl Jr
2017-06-09 00:32:03 +00:00
parent c26f048911
commit 212ed27e3b
49 changed files with 385 additions and 396 deletions
+13
View File
@@ -0,0 +1,13 @@
class Util {
static cleanXML(str) {
return str
.replace(/(<br \/>)/g, '')
.replace(/(&#039;)/g, '\'')
.replace(/(&mdash;)/g, '—')
.replace(/(&#034;|&quot;)/g, '"')
.replace(/(&#038;)/g, '&')
.replace(/(\[i\]|\[\/i\])/g, '*');
}
}
module.exports = Util;