1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-09-19 20:14:58 +00:00

fixed html escape bug caused by typo

This commit is contained in:
boxgaming 2023-05-17 00:46:51 -05:00
parent 28e2fbdbb0
commit 8c7b0a3739

View file

@ -70,7 +70,7 @@ Function EscapeHtml (text As String)
text = GXSTR_Replace(text, "&", "&")
text = GXSTR_Replace(text, "<", "&lt;")
text = GXSTR_Replace(text, ">", "&gt;")
text = GXSTR_Replace(text, Chr$(34), "&quote;")
text = GXSTR_Replace(text, Chr$(34), "&quot;")
text = GXSTR_Replace(text, "'", "&#039;")
EscapeHtml = text
End Function