Closed opoudjis closed 3 years ago
This results from https://github.com/rubys/nokogumbo/issues/160 . It's an update that does make sense (if you add a child node, inherit its namespace), but we do need to now explicitly namespace the inserted spans as HTML.
In fact, we are having to do this manually, by stripping the namespaces in text: Word MHT cannot parse the explicit HTML namespaces, which Nokogiri 1.11 is inserting here.
Arises from https://github.com/metanorma/html2doc/pull/63