8237: descendant tree graphical report, syntax error in svg output

This commit is contained in:
Paul Franklin 2014-12-17 19:40:37 -08:00
parent 67206a7f4f
commit 1ed41b33e3

View File

@ -102,9 +102,9 @@ class SvgDrawDoc(BaseDoc, DrawDoc):
'<?xml version="1.0" encoding="UTF-8" standalone="no"?>\n'
'<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.0//EN" '
'"http://www.w3.org/TR/2001/REC-SVG-20010904/DTD/svg10.dtd">\n'
'<svg width="%5.2fcm" height="%5.2fcm" '
'<svg width="%4.2fcm" height="%4.2fcm" '
'xmlns="http://www.w3.org/2000/svg">\n'
'<rect width="%5.2fcm" height="%5.2fcm" '
'<rect width="%4.2fcm" height="%4.2fcm" '
'style="fill: %s;"/>\n'
% (width, height, width, height, self._bg)
)