lib/onebox/engine/bandcamp_onebox.rb in onebox-1.7.2 vs lib/onebox/engine/bandcamp_onebox.rb in onebox-1.7.3
- old
+ new
@@ -2,10 +2,10 @@
module Engine
class BandCampOnebox
include Engine
include StandardEmbed
- matches_regexp(/^https?:\/\/.*bandcamp\.com\/album\//)
+ matches_regexp(/^https?:\/\/.*\.bandcamp\.com\/album\//)
always_https
def placeholder_html
og = get_opengraph
"<img src='#{og[:image]}' height='#{og[:video_height]}' #{Helpers.title_attr(og)}>"