program/lib/Roundcube/rcube_washtml.php
@@ -366,7 +366,7 @@ */ private function is_link_attribute($tag, $attr) { return $tag == 'a' && $attr == 'href'; return ($tag == 'a' || $tag == 'area') && $attr == 'href'; } /** @@ -501,7 +501,7 @@ $this->max_nesting_level = (int) @ini_get('xdebug.max_nesting_level'); // SVG need to be parsed as XML $this->is_xml = stripos($html, '<svg') !== false || stripos($html, '<?xml') !== false; $this->is_xml = stripos($html, '<html') === false && stripos($html, '<svg') !== false; $method = $this->is_xml ? 'loadXML' : 'loadHTML'; $options = 0;