Skip to content
Browse files

fix

  • Loading branch information...
1 parent e4fc8c7 commit 271aa770f53d9df93f679ba948bfd23a78c1aa3d @proycon committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 formats/folia.py
View
2 formats/folia.py
@@ -400,7 +400,7 @@ def makeelement(E, tagname, **kwargs):
except ValueError as e:
try:
#older versions of lxml may misbehave, compensate:
- e = E._makeelement(tagname)
+ e = E._makeelement(tagname.encode('utf-8'))
for k,v in kwargs.items():
e.attrib[k.encode('utf-8')] = v
except ValueError as e2:

0 comments on commit 271aa77

Please sign in to comment.
Something went wrong with that request. Please try again.