diff options
| author | stonedDiscord <stoned@derpymail.org> | 2020-12-29 02:24:09 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-29 02:24:09 +0100 |
| commit | d154866bbea3cfb8ea9eff7f5ecb8ebb36c0f31c (patch) | |
| tree | c6a22f17ece17d6fb09cc885959f0f6a0d18a551 /webAO/encoding.js | |
| parent | 31c78b8e3bcda4b410ca2f2ef9609a29040088fb (diff) | |
| parent | 2f6a09f901ec981744960665110f25dc990697b5 (diff) | |
Merge pull request #73 from AttorneyOnline/less-ms-spam
Less ms spam
Diffstat (limited to 'webAO/encoding.js')
| -rw-r--r-- | webAO/encoding.js | 4 |
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, "<"); + .replace(/>/g, '>') + .replace(/</g, '<'); } else { return ""; } |
