fnp
/
redakcja.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ptrad
[redakcja.git]
/
src
/
documents
/
xml_tools.py
diff --git
a/src/documents/xml_tools.py
b/src/documents/xml_tools.py
index
ac145db
..
d7e3fcf
100644
(file)
--- a/
src/documents/xml_tools.py
+++ b/
src/documents/xml_tools.py
@@
-107,7
+107,7
@@
def split_xml(text):
# find the chapter's title
name_elem = deepcopy(element)
# find the chapter's title
name_elem = deepcopy(element)
- for tag in 'extra', 'motyw', 'pa', 'pe', 'pr', 'pt', 'uwaga':
+ for tag in 'extra', 'motyw', 'pa', 'pe', 'pr', 'pt', '
ptrad', '
uwaga':
for a in name_elem.findall('.//' + tag):
a.text=''
del a[:]
for a in name_elem.findall('.//' + tag):
a.text=''
del a[:]