Subject: | Don't ignore unknown HTML elements |
MediaWiki (and potentially other wiki dialects) accept a limited subset of HTML elements in their markup that aren't recognized by HTML::TreeBuilder (e.g. <ruby> et al). By default, HTML::TreeBuilder ignores these tags (effectively stripping them from the HTML input), preventing the wiki dialect from including them in the resulting wiki markup.
This can be remedied by setting HTML::TreeBuilder's 'ignore_unknown' parameter to false prior to parsing the HTML.
(Found in 0.22.)
-- David Iberri