lib/onebox/engine/standard_embed.rb in onebox-1.3.2 vs lib/onebox/engine/standard_embed.rb in onebox-1.3.3
- old
+ new
@@ -30,10 +30,10 @@
end
private
def parse_open_graph(html, url)
- og = Struct.new(:url, :type, :title, :description, :images, :metadata).new
+ og = Struct.new(:url, :type, :title, :description, :images, :metadata, :html).new
og.url = url
og.images = []
og.metadata = {}
attrs_list = %w(title url type description)