Skip to content
Browse files

Block quote rename

  • Loading branch information...
kthoden committed Nov 28, 2018
1 parent 335a85c commit 2c9b5d196ae9ee3c228a450f5f956de984866671
Showing with 4 additions and 0 deletions.
  1. +4 −0
@@ -332,6 +332,10 @@ def cleanup_xml(xml_tree):
for paragraph in paragraphs:

wrongblockquotes = xml_tree.xpath("//t:p[contains(@rend, 'Quotation')]", namespaces=NS_MAP)
for blockquote in wrongblockquotes:
paragraph.set("rend", "quote")

etree.strip_tags(xml_tree, "tagtobestripped")

return xml_tree

0 comments on commit 2c9b5d1

Please sign in to comment.
You can’t perform that action at this time.