Topic on Extension talk:FCKeditor (by Mafs)

Cleanup HTML Tags on search results after using FCKEditor in MediaWiki 1.14

1
Ciges (talkcontribs)

Some of you might want to remove HTML Tags showing up on the search results after you integrate FCKEditor. In MediaWiki 1.14 the solution proposed is not ok. You have to

On /includes/Revision.php, change the following:

 return $this->getRawText();

to:

 return html_entity_decode(strip_tags($this->getRawText()),ENT_COMPAT | ENT_HTML401, 'UTF-8');
Reply to "Cleanup HTML Tags on search results after using FCKEditor in MediaWiki 1.14"