Method: IsoDoc::Function::Cleanup#example_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#example_cleanup(docxml) ⇒ Object
23 24 25 26 27 28 |
# File 'lib/isodoc/function/cleanup.rb', line 23 def example_cleanup(docxml) docxml.xpath("//table[@class = 'example']//p[not(@class)]").each do |p| p["class"] = "example" end docxml end |