diff --git a/Classes/Utility/HtmlUtility.php b/Classes/Utility/HtmlUtility.php index a02f8ce..58a6207 100644 --- a/Classes/Utility/HtmlUtility.php +++ b/Classes/Utility/HtmlUtility.php @@ -34,7 +34,7 @@ class HtmlUtility * @param string $content: the input content * @return string the input content with HTML comment removed */ - public function removeHTMLComments($content) + public static function removeHTMLComments($content) { $result = preg_replace('/[\t\v\n\r\f]*/', '', $content); return $result; @@ -46,7 +46,7 @@ public function removeHTMLComments($content) * @param string $content: the input content * @return string the input content with HTML br tags replaced */ - public function replaceHTMLBr($content) + public static function replaceHTMLBr($content) { $result = preg_replace('//', LF, $content); return $result; @@ -58,7 +58,7 @@ public function replaceHTMLBr($content) * @param string $content: the input content * @return string the input content with HTML tags removed */ - public function removeHtmlTags($content) + public static function removeHtmlTags($content) { // Preserve constructs $result = str_replace('