aboutsummaryrefslogtreecommitdiff
path: root/webAO/encoding.js
diff options
context:
space:
mode:
authorstonedDiscord <stoned@derpymail.org>2020-12-29 02:24:09 +0100
committerGitHub <noreply@github.com>2020-12-29 02:24:09 +0100
commitd154866bbea3cfb8ea9eff7f5ecb8ebb36c0f31c (patch)
treec6a22f17ece17d6fb09cc885959f0f6a0d18a551 /webAO/encoding.js
parent31c78b8e3bcda4b410ca2f2ef9609a29040088fb (diff)
parent2f6a09f901ec981744960665110f25dc990697b5 (diff)
Merge pull request #73 from AttorneyOnline/less-ms-spam
Less ms spam
Diffstat (limited to 'webAO/encoding.js')
-rw-r--r--webAO/encoding.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/webAO/encoding.js b/webAO/encoding.js
index 71ebe53..04a44e7 100644
--- a/webAO/encoding.js
+++ b/webAO/encoding.js
@@ -31,8 +31,8 @@ export function unescapeChat(estring) {
export function safe_tags(unsafe) {
if (unsafe) {
return unsafe
- .replace(/>/g, "&rt;")
- .replace(/</g, "&lt;");
+ .replace(/>/g, '&gt;')
+ .replace(/</g, '&lt;');
} else {
return "";
}