Remove useless escape characters
This commit is contained in:
@@ -119,7 +119,7 @@ import Dashboard from '../scripts/clientUtils';
|
||||
function parseHtml(html, hasScript) {
|
||||
if (hasScript) {
|
||||
html = replaceAll(html, '\x3c!--<script', '<script');
|
||||
html = replaceAll(html, '<\/script>--\x3e', '<\/script>');
|
||||
html = replaceAll(html, '</script>--\x3e', '</script>');
|
||||
}
|
||||
|
||||
const wrapper = document.createElement('div');
|
||||
|
||||
Reference in New Issue
Block a user