aboutsummaryrefslogtreecommitdiff
path: root/webAO/encoding.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2020-04-13 18:04:13 +0200
committerGitHub <noreply@github.com>2020-04-13 18:04:13 +0200
commite2c97a3ac234370c083bb3117c5ad25f4bef4033 (patch)
tree87caf0fa28bec9414d625eb36af8bfc8ffeb9446 /webAO/encoding.js
parent9b4e487245f7fb6862dc3bba84f9425b18894cec (diff)
parentbd3194ccde09d0353e0a2d1ccbcc68f370c70926 (diff)
Merge pull request #56 from AttorneyOnline/music_search
Music search
Diffstat (limited to 'webAO/encoding.js')
-rw-r--r--webAO/encoding.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/webAO/encoding.js b/webAO/encoding.js
index 3249617..71ebe53 100644
--- a/webAO/encoding.js
+++ b/webAO/encoding.js
@@ -31,10 +31,8 @@ export function unescapeChat(estring) {
export function safe_tags(unsafe) {
if (unsafe) {
return unsafe
- .replace(/&/g, "&amp;")
+ .replace(/>/g, "&rt;")
.replace(/</g, "&lt;");
- //.replace(/"/g, "&quot;")
- //.replace(/'/g, "&#039;");
} else {
return "";
}