Build fix.

This commit is contained in:
kovacsv 2022-05-29 11:30:19 +02:00
parent 6f54184dc6
commit d5e33c00f0

View File

@ -30,5 +30,5 @@ export function IsObjectEmpty (obj)
export function EscapeHtmlChars (str)
{
return str.replaceAll ('<', '&lt;').replaceAll ('>', '&gt;');
return str.replace (/</g, '&lt;').replace (/>/g, '&gt;');
}