Skip to content

Commit

Permalink
fixed odysee embeds bug #730
Browse files Browse the repository at this point in the history
  • Loading branch information
aaashir committed Jun 2, 2021
1 parent 572ed55 commit 0234265
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/common/MarkdownViewer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ const prepareLbryEmbeds = (content) => {
}

const prepareOdyseeEmbeds = (content) => {
const odyseeRegex = /(?:https?:\/\/(?:(?:odysee\.com)))/i
const odyseeRegex = /(?:https?:\/\/(?:(?:odysee\.com\/@(.*?))))/i
let body = content

const links = markdownLinkExtractor(content)
Expand Down

0 comments on commit 0234265

Please sign in to comment.