Skip to content

Commit 41de07c

Browse files
fix: restore quotes around oembed iframe attributes (#52)
1 parent aa406cf commit 41de07c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lambda/oembed/oembed.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ function handler(event, context, callback) {
5050
author_name: 'Testing Playground',
5151
author_url: host,
5252

53-
html: `<iframe src="${url}" width=${maxwidth} height=${maxheight} scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" title="Testing Playground" style="overflow: hidden; display: block;" loading="lazy" name="testing-playground-${Date.now()}"></iframe>`,
53+
html: `<iframe src="${url}" width="${maxwidth}" height="${maxheight}" scrolling="no" frameborder="0" allowtransparency="true" allowfullscreen="true" title="Testing Playground" style="overflow: hidden; display: block;" loading="lazy" name="testing-playground-${Date.now()}"></iframe>`,
5454
width: maxwidth,
5555
height: maxheight,
5656

0 commit comments

Comments
 (0)