diff --git a/src/index.ts b/src/index.ts index 1505f41..8e5ef09 100644 --- a/src/index.ts +++ b/src/index.ts @@ -14,7 +14,7 @@ function isRelativeUrlWithoutProtocol(url: string): boolean { // adapted from https://stackoverflow.com/a/29824550/2601552 function decodeHtmlCharacters(str: string) { - const removedNullByte = str.replace(ctrlCharactersRegex, "") + const removedNullByte = str.replace(ctrlCharactersRegex, ""); return removedNullByte.replace(htmlEntitiesRegex, (match, dec) => { return String.fromCharCode(dec); });