Fixup graphics height conversion when special is non-empty

This commit is contained in:
Juergen Spitzmueller 2020-09-17 08:43:04 +02:00
parent 6ad1c359fc
commit 40159fd2ab

View File

@ -3606,7 +3606,7 @@ def convert_totalheight(document):
unit = relative_heights[unit]
if k != -1:
if special != "":
val = val + "," + special
val = val + unit + "," + special
document.body[k] = "\tspecial " + "height=" + val
else:
document.body.insert(kk + 1, "\tspecial height=" + val + unit)