# frozen_string_literal: true module Onebox module Engine class GoogleCalendarOnebox include Engine matches_regexp /^(https?:)?\/\/((www|calendar)\.google\.[\w.]{2,}|goo\.gl)\/calendar\/.+$/ always_https def to_html url = @url.split('&').first src = ::Onebox::Helpers.normalize_url_for_output(url) "" end def placeholder_html <<-HTML

Google Calendar

HTML end end end end