Thread:Extension talk:RSS/RSS 2.10 ; r112480 output is distorted containing (table border cellpadding cellspacing ...)/reply (3)

Maybe in this case you might want to look at Sanitizer::removeHTMLtags which cleans up HTML, removes dangerous tags and attributes.