PML Output: ensure \w always ends with a %.

This commit is contained in:
John Schember 2010-11-30 19:04:26 -05:00
parent 37cde21c6d
commit c38eb08018

View File

@ -216,6 +216,8 @@ class PMLMLizer(object):
w = '\\w'
width = elem.get('width')
if width:
if not width.endswith('%'):
width += '%'
w += '="%s"' % width
else:
w += '="50%"'