Pastebin supports HTTPS embedding now.

This commit is contained in:
ccd0 2016-05-07 19:49:22 -07:00
parent 371b8cf7de
commit 75707f1c70

View File

@ -302,10 +302,9 @@ Embedding =
,
key: 'Pastebin'
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
httpOnly: true
el: (a) ->
div = $.el 'iframe',
src: "http://pastebin.com/embed_iframe.php?i=#{a.dataset.uid}"
src: "//pastebin.com/embed_iframe.php?i=#{a.dataset.uid}"
,
key: 'SoundCloud'
regExp: /^\w+:\/\/(?:www\.)?(?:soundcloud\.com\/|snd\.sc\/)([\w\-\/]+)/