v3.8.0
- Added
Parser::setAlignClasses()
andParser::isAlignClassesEnabled()
. This can be used to enable img alignment classes in XHTML output document mode, instead of the default align attribute. - Added
Parser::DOCTYPE_HTML5
andParser::DOCTYPE_XHTML
constants. These can be used withParser::setDocumentType()
to specify the output document type.