git » sdk » commit c7b0fd2

Fix typo in comment

author Stephen Paul Weber
2025-06-24 18:27:34 UTC
committer Stephen Paul Weber
2025-06-24 18:27:34 UTC
parent 31385627a8ca079fecd93735c0be67d4762e226f

Fix typo in comment

snikket/Util.hx +1 -1

diff --git a/snikket/Util.hx b/snikket/Util.hx
index 6c9f7eb..7227e9c 100644
--- a/snikket/Util.hx
+++ b/snikket/Util.hx
@@ -46,7 +46,7 @@ function downcast<T, S>(value: T, c: Class<S>): Null<S> {
 }
 
 function xmlEscape(s: String) {
-	// NOTE: using STringTools.htmlEscape breaks things if this is one half of a surrogate pair in an adjacent cdata
+	// NOTE: using StringTools.htmlEscape breaks things if this is one half of a surrogate pair in an adjacent cdata
 	return StringTools.replace(StringTools.replace(StringTools.replace(s, "&", "&amp;"), "<", "&lt;"), ">", "&gt;");
 }