diff --git a/includes/RSSParser.php b/includes/RSSParser.php index 25cfab3..912775e 100644 --- a/includes/RSSParser.php +++ b/includes/RSSParser.php @@ -458,7 +458,7 @@ class RSSParser { break; default: $str = $this->escapeTemplateParameter( $item[$info] ); - $str = $parser->getTargetLanguage()->truncateForVisual( $str, $this->ItemMaxLength ); + $str = $parser->getTargetLanguage()->truncateHTML( $str, $this->ItemMaxLength ); $str = $this->highlightTerms( $str ); $renderedItem = str_replace( '{{{' . $info . '}}}', $this->insertStripItem( $str ), $renderedItem );