Method: IsoDoc::Function::Cleanup#example_cleanup
- Defined in:
- lib/isodoc/function/cleanup.rb
#example_cleanup(docxml) ⇒ Object
39 40 41 42 43 44 |
# File 'lib/isodoc/function/cleanup.rb', line 39 def example_cleanup(docxml) docxml.xpath("//table[@class = 'example']//p[not(@class)]").each do |p| p["class"] = "example" end docxml end |