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