Skip to content

Commit e42c998

Browse files
committed
Fix html when creating an iframe in a Presenter presentation
1 parent 1f319b1 commit e42c998

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

seleniumbase/fixtures/base_case.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3485,7 +3485,7 @@ def add_slide(self, content=None, image=None, code=None, iframe=None,
34853485
html += '\n<pre class="prettyprint">\n%s</pre>' % code
34863486
if iframe:
34873487
html += ('\n<div></div>'
3488-
'\n<iframe src="%s" style="width:92%%;height:550;'
3488+
'\n<iframe src="%s" style="width:92%%;height:550px;" '
34893489
'title="iframe content"></iframe>' % iframe)
34903490
add_line = ""
34913491
if content2.startswith("<"):

0 commit comments

Comments
 (0)