Fix html when creating an iframe in a Presenter presentation

This commit is contained in:
Michael Mintz 2020-08-25 03:22:40 -04:00
parent 1f319b1ede
commit e42c998b25
1 changed files with 1 additions and 1 deletions

View File

@ -3485,7 +3485,7 @@ class BaseCase(unittest.TestCase):
html += '\n<pre class="prettyprint">\n%s</pre>' % code
if iframe:
html += ('\n<div></div>'
'\n<iframe src="%s" style="width:92%%;height:550;'
'\n<iframe src="%s" style="width:92%%;height:550px;" '
'title="iframe content"></iframe>' % iframe)
add_line = ""
if content2.startswith("<"):