We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7d4056e commit 6e50915Copy full SHA for 6e50915
src/app/shared/helpers/format-bad-encoding.helper.ts
@@ -1,3 +1,4 @@
1
export function replaceBadEncodedChars(text: string) {
2
+ if (!text) return '';
3
return text.replace(/&/gi, '&').replace(/</gi, '<').replace(/>/gi, '>');
4
}
0 commit comments