Skip to content

Commit

Permalink
feat(import): embed url should be a link
Browse files Browse the repository at this point in the history
  • Loading branch information
kptdobe committed Mar 23, 2021
1 parent c97a9d2 commit c2b82a0
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 @@ -160,7 +160,7 @@ export default class DOMUtils {
}

static generateEmbed(url) {
return JSDOM.fragment(`<table><tr><th>Embed</th></tr><tr><td>${url}</td></tr></table>`)
return JSDOM.fragment(`<table><tr><th>Embed</th></tr><tr><td><a href="${url}">${url}</a></td></tr></table>`)
}

static replaceEmbeds(document: Document) {
Expand Down

0 comments on commit c2b82a0

Please sign in to comment.