fix too many whitespaces in xml output
This commit is contained in:
parent
d4aa5eda84
commit
1b1ca2a65b
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ class SVGImage:
|
|||
attribs = ' viewBox="'+' '.join((offset_px, offset_px, width_px, height_px))+'"' if buffer else ''
|
||||
|
||||
result = ('<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"'
|
||||
' xmlns:xlink="http://www.w3.org/1999/xlink" width="'+width_px+'" height="'+height_px+'"' +
|
||||
' xmlns:xlink="http://www.w3.org/1999/xlink" width="'+width_px+'" height="'+height_px+'"' +
|
||||
attribs+'>')
|
||||
if self.defs:
|
||||
result += '<defs>'+self.defs+'</defs>'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue