Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5826429

Browse files
author
Christophe
committed
Added a space between attributes so that picky HTML parsers don't freak out
1 parent 5e734af commit 5826429

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

plotly/tools.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
339339
"The 'file_id' argument must be a non-negative number."
340340
)
341341
if share_key is '':
342-
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\""
342+
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
343343
"seamless=\"seamless\" "
344344
"src=\"{plotly_rest_url}/"
345345
"~{file_owner}/{file_id}.embed\" "
@@ -349,7 +349,7 @@ def get_embed(file_owner_or_url, file_id=None, width="100%", height=525):
349349
file_owner=file_owner, file_id=file_id,
350350
iframe_height=height, iframe_width=width)
351351
else:
352-
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\""
352+
s = ("<iframe id=\"igraph\" scrolling=\"no\" style=\"border:none;\" "
353353
"seamless=\"seamless\" "
354354
"src=\"{plotly_rest_url}/"
355355
"~{file_owner}/{file_id}.embed?share_key={share_key}\" "

0 commit comments

Comments
 (0)