Skip to content

Commit

Permalink
feat(embed): use table for embeds
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Mar 11, 2021
1 parent 9e72acf commit e4937b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/DOMUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ export default class DOMUtils {
const dataSrc = iframe.getAttribute('data-src');
const url = dataSrc ? dataSrc : src;
if (url) {
iframe.after(JSDOM.fragment(`<hlxembed>${url}</hlxembed>`));
iframe.after(JSDOM.fragment(`<table><tr><th>Embed</th></tr><tr><td>${url}</td></tr></table>`));
}
iframe.remove();
});
Expand Down

0 comments on commit e4937b6

Please sign in to comment.