aboutsummaryrefslogtreecommitdiff
path: root/webAO/encoding.js
diff options
context:
space:
mode:
authorstonedDiscord <Tukz@gmx.de>2022-03-09 19:16:36 +0100
committerstonedDiscord <Tukz@gmx.de>2022-03-09 19:16:36 +0100
commite375a416503b07aa89151e17241ca3606aec0b2b (patch)
tree046a274702cbdca71379959d1e245f2310d3b92e /webAO/encoding.js
parent38a05ca3bb8ab972327c938a7a58d4aa07572daf (diff)
parent679bc9be8b0459d298ac1ac3f3b7e61278c184d9 (diff)
Merge branch 'master' of https://github.com/AttorneyOnline/webAO
Diffstat (limited to 'webAO/encoding.js')
-rw-r--r--webAO/encoding.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/webAO/encoding.js b/webAO/encoding.js
index 21b5aa7..e6cc3ae 100644
--- a/webAO/encoding.js
+++ b/webAO/encoding.js
@@ -28,7 +28,7 @@ export function unescapeChat(estring) {
* XXX: This is unnecessary if we use `createTextNode` instead!
* @param {string} unsafe an unsanitized string
*/
-export function safe_tags(unsafe) {
+export function safeTags(unsafe) {
if (unsafe) {
return unsafe
.replace(/>/g, '&gt;')