lib/onebox/engine/xkcd_onebox.rb in onebox-1.8.4 vs lib/onebox/engine/xkcd_onebox.rb in onebox-1.8.5

- old
+ new

@@ -3,10 +3,10 @@ class XkcdOnebox include Engine include LayoutSupport include JSON - matches_regexp(/^https?:\/\/(www\.)?xkcd\.com\/\d+/) + matches_regexp(/^https?:\/\/(www\.)?(m\.)?xkcd\.com\/\d+/) def url "https://xkcd.com/#{match[:comic_id]}/info.0.json" end