##// END OF EJS Templates
Fix citation2latex for Python 3
Thomas Kluyver -
Show More
@@ -39,7 +39,7 b' def citation2latex(s):'
39
39
40 tree = html.fragment_fromstring(s, create_parent='div')
40 tree = html.fragment_fromstring(s, create_parent='div')
41 _process_node_cite(tree)
41 _process_node_cite(tree)
42 s = html.tostring(tree)
42 s = html.tostring(tree, encoding='unicode')
43 if s.endswith('</div>'):
43 if s.endswith('</div>'):
44 s = s[:-6]
44 s = s[:-6]
45 if s.startswith('<div>'):
45 if s.startswith('<div>'):
General Comments 0
You need to be logged in to leave comments. Login now