Thread:Project:Support desk/HTML markup in search results

Hi,

In older versions of MW to removed HTML markup from search results you had to add $this->mText = strip_tags( $this->mText ); to the SearchEngine.php but in 1.25.1 this file no longer has a function called getTextSnippet. Any ideas where this function is or how to make it work now?