Fix #3368 (TypeError: not enough arguments for format string)

This commit is contained in:
Kovid Goyal 2009-08-31 14:09:08 -06:00
parent 330779fa13
commit ec16cc89f4

View File

@ -192,7 +192,7 @@ class PMLMLizer(object):
text += '\\w'
width = elem.get('width')
if width:
text += '="%s%"' % width
text += '="%s%%"' % width
else:
text += '="50%"'