diff --git a/e107_handlers/e_parse_class.php b/e107_handlers/e_parse_class.php index 7c8d4c9ce..55972dd8e 100644 --- a/e107_handlers/e_parse_class.php +++ b/e107_handlers/e_parse_class.php @@ -2465,7 +2465,7 @@ class e_parser // $html = mb_convert_encoding($html, 'UTF-8'); - $html = ''.$html.''; // Set it up for processing. + $html = ''.$html.''; // Set it up for processing. $doc = $this->domObj; $doc->loadHTML($html); @@ -2510,7 +2510,7 @@ class e_parser continue; } - if(invalidAttributeVal( $value)) // Check value against blacklist. + if(invalidAttributeVal( $value)) // Check value against whitelist. { $node->removeAttribute($name); $node->setAttribute($name, '#---sanitized---#'); @@ -2529,7 +2529,7 @@ class e_parser } // Convert and
 Tags to Htmlentities. 
-        foreach($this->nodesToConvert as $node) //TODO Work on code processing and highlighting . 
+        foreach($this->nodesToConvert as $node)  
         {
             $value = $node->C14N();