Method: IsoDoc::Function::Utils#from_xhtml

Defined in:
lib/isodoc/function/utils.rb

#from_xhtml(xml) ⇒ Object



77
78
79
# File 'lib/isodoc/function/utils.rb', line 77

def from_xhtml(xml)
  xml.to_xml.sub(%r{ xmlns="http://www.w3.org/1999/xhtml"}, "")
end