converter: Fix XML syntax

pull/129/head
Quentin Pradet 2018-03-06 14:41:52 +04:00
parent 2231f0892e
commit 94f3d61bb2
No known key found for this signature in database
GPG Key ID: 89964D54095F813B
1 changed files with 1 additions and 1 deletions

View File

@ -520,7 +520,7 @@ class XMLConverter(PDFConverter):
render(child)
self.write('</textbox>\n')
elif isinstance(item, LTChar):
self.write('<text font="%s" bbox="%s" colourspace="%s" ncolour=%s" size="%.3f">' %
self.write('<text font="%s" bbox="%s" colourspace="%s" ncolour="%s" size="%.3f">' %
(enc(item.fontname, None), bbox2str(item.bbox),
item.ncs.name, item.graphicstate.ncolor, item.size))
self.write_text(item.get_text())