mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix bug #7745: PML output should ignore external links as it is not support by the spec. Fix part of bug #7742: PML output extra % sign.
This commit is contained in:
parent
acac5a479b
commit
37cde21c6d
@ -216,7 +216,7 @@ class PMLMLizer(object):
|
||||
w = '\\w'
|
||||
width = elem.get('width')
|
||||
if width:
|
||||
w += '="%s%%"' % width
|
||||
w += '="%s"' % width
|
||||
else:
|
||||
w += '="50%"'
|
||||
text.append(w)
|
||||
|
Loading…
x
Reference in New Issue
Block a user