diff --git a/lib/html2text/Html2Text.php b/lib/html2text/Html2Text.php index 0654e2cb21c21..0ed5e404d662a 100644 --- a/lib/html2text/Html2Text.php +++ b/lib/html2text/Html2Text.php @@ -23,6 +23,8 @@ class Html2Text { const ENCODING = 'UTF-8'; + protected $htmlFuncFlags; + /** * Contains the HTML content to convert. * @@ -47,27 +49,25 @@ class Html2Text protected $search = array( "/\r/", // Non-legal carriage return "/[\n\t]+/", // Newlines and tabs - '/]*>.*?<\/head>/i', // - '/]*>.*?<\/script>/i', //