Use @types/dynmap where possible (Closes #224)
This commit is contained in:
parent
0c87849356
commit
1237b9cc5f
@ -208,5 +208,5 @@ const decodeTextarea = document.createElement('textarea');
|
||||
|
||||
export const decodeHTMLEntities = (text: string) => {
|
||||
decodeTextarea.innerHTML = text;
|
||||
return decodeTextarea.textContent;
|
||||
return decodeTextarea.textContent || '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user