const ltRegex = /</gi, gtRegex = />/gi, ampRegex = /&/gi;

export function decodeHTML(this: void | never, str: string): string {
    return str.replace(ltRegex, '<').replace(gtRegex, '>').replace(ampRegex, '&');
}