Fixing build issue.

This commit is contained in:
mike12345567 2025-01-16 15:54:32 +00:00
parent 3f10d9d8ed
commit a142c0cd2a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ const entityMap = {
function escapeHtml(html: string) { function escapeHtml(html: string) {
return String(html).replace(/[&<>"'`=]/g, function (s) { return String(html).replace(/[&<>"'`=]/g, function (s) {
return entityMap[s] return entityMap[s as keyof typeof entityMap]
}) })
} }