diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 4aa76085e..3c061016f 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -5292,12 +5292,6 @@ class e_parser */ $cleaned = $doc->saveHTML($doc->documentElement); // $doc->documentElement fixes utf-8/entities issue. @see http://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly - // Workaround for https://bugs.php.net/bug.php?id=76285 - // Part 2 of 2 - // prevent replacement of with spaces. - convert back. - - // convert shortcode temporary triple-curly braces back to entities. - // convert shortcode temporary triple-curly braces back to entities. $cleaned = str_replace( array("\n", '__E_PARSER_CLEAN_HTML_LINE_BREAK__', '__E_PARSER_CLEAN_HTML_NON_BREAKING_SPACE__', '{{{', '}}}', '__E_PARSER_CLEAN_HTML_CURLY_OPEN__', '__E_PARSER_CLEAN_HTML_CURLY_CLOSED__', '
', '', '', ''), @@ -5343,101 +5337,6 @@ class e_parser } - - /** - * XSS HTML code to test against - */ - public function getXss() - { - -$html = <<This is pre-formatted - - Bold Stuff --something-code
- BOLD - function myfunction() - { - - } -
- function myfunction()
- {
-
- }
-
-
-
-
-