Fixes error in html processing when RDF module is disabled.