Update Pastebin embedding to handle new URLs for raw pastes.
This commit is contained in:
parent
244f525d9f
commit
defc8a121b
@ -310,7 +310,7 @@ Embedding =
|
||||
loop: true
|
||||
,
|
||||
key: 'Pastebin'
|
||||
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w\.]+\?i\=)?(\w+)/
|
||||
regExp: /^\w+:\/\/(?:\w+\.)?pastebin\.com\/(?!u\/)(?:[\w.]+(?:\/|\?i\=))?(\w+)/
|
||||
el: (a) ->
|
||||
div = $.el 'iframe',
|
||||
src: "//pastebin.com/embed_iframe.php?i=#{a.dataset.uid}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user