lib/onebox/engine/google_calendar_onebox.rb in onebox-1.5.26 vs lib/onebox/engine/google_calendar_onebox.rb in onebox-1.5.27

- old
+ new

@@ -1,10 +1,10 @@ module Onebox module Engine class GoogleCalendarOnebox include Engine - matches_regexp /^(https?:)?\/\/(www\.google\.[\w.]{2,}|goo\.gl)\/calendar\/.+$/ + matches_regexp /^(https?:)?\/\/((www|calendar)\.google\.[\w.]{2,}|goo\.gl)\/calendar\/.+$/ always_https def to_html url = @url.split('&').first "<iframe src='#{url}&rm=minimal' style='border: 0' width='800' height='600' frameborder='0' scrolling='no' ></iframe>" \ No newline at end of file