Fix html when creating an iframe in a Presenter presentation
This commit is contained in:
parent
1f319b1ede
commit
e42c998b25
|
@ -3485,7 +3485,7 @@ class BaseCase(unittest.TestCase):
|
||||||
html += '\n<pre class="prettyprint">\n%s</pre>' % code
|
html += '\n<pre class="prettyprint">\n%s</pre>' % code
|
||||||
if iframe:
|
if iframe:
|
||||||
html += ('\n<div></div>'
|
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)
|
'title="iframe content"></iframe>' % iframe)
|
||||||
add_line = ""
|
add_line = ""
|
||||||
if content2.startswith("<"):
|
if content2.startswith("<"):
|
||||||
|
|
Loading…
Reference in New Issue