Skip to content
This repository has been archived by the owner on Sep 2, 2021. It is now read-only.

Commit

Permalink
Allow https urls for Youtube embeds
Browse files Browse the repository at this point in the history
Via #38
  • Loading branch information
amyreese committed Nov 16, 2016
1 parent e15c8e6 commit 8117aab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MarkdownPP/Modules/YoutubeEmbed.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
from MarkdownPP.Module import Module
from MarkdownPP.Transform import Transform

youtube_url_re = re.compile('^!VIDEO\s+"http://www\.youtube\.com'
youtube_url_re = re.compile('^!VIDEO\s+"https?://www\.youtube\.com'
'/embed/([a-zA-Z0-9\-]*)"')
glowfoto_server_re = re.compile("<uploadform>(.*)</uploadform>")
glowfoto_image_re = re.compile("<thumburl>(.*)</thumburl>")
Expand Down

0 comments on commit 8117aab

Please sign in to comment.