Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Blockquotes
  • Loading branch information
kthoden committed Jul 19, 2019
1 parent 9a9df79 commit ed7eecd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions tei2imxml.py
Expand Up @@ -525,8 +525,15 @@ def handle_refs_hyperimage(ref):
for paragraph in eoa_paragraphs:
paragraph.tag = "p"

if paragraph.get("rend") == "Quote":
paragraph.set("rend", "quoted")
###############
# Blockquotes #
###############

eoa_blockquotes = xml_tree.xpath("//t:quote", namespaces=NS_MAP)

for blockquote in eoa_blockquotes:
blockquote.tag = "p"
blockquote.set("rend", "quoted")

#############
# Citations #
Expand Down

0 comments on commit ed7eecd

Please sign in to comment.