// either.
$po = ParserOptions::newFromAnon();
$po->setAllowUnsafeRawHtml( false );
+ $po->setTidy( true );
return $po;
}
// from malicious sources. As a precaution, disable
// the <html> parser tag when parsing messages.
$this->mParserOptions->setAllowUnsafeRawHtml( false );
+ // For the same reason, tidy the output!
+ $this->mParserOptions->setTidy( true );
}
return $this->mParserOptions;