diff --git a/lib/onebox/templates/wikimedia.mustache b/lib/onebox/templates/wikimedia.mustache index 4b1ab487c0e..dbcd4bb40d3 100644 --- a/lib/onebox/templates/wikimedia.mustache +++ b/lib/onebox/templates/wikimedia.mustache @@ -1,3 +1,3 @@ -{{#image}}{{/image}} +{{#image}}{{/image}}

{{title}}

diff --git a/spec/lib/onebox/engine/wikimedia_onebox_spec.rb b/spec/lib/onebox/engine/wikimedia_onebox_spec.rb index 78b1516aa0f..da177db3ed3 100644 --- a/spec/lib/onebox/engine/wikimedia_onebox_spec.rb +++ b/spec/lib/onebox/engine/wikimedia_onebox_spec.rb @@ -19,7 +19,7 @@ RSpec.describe Onebox::Engine::WikimediaOnebox do it "has the image" do expect(html).to include( - "https://upload.wikimedia.org/wikipedia/commons/a/af/Stones_members_montage2.jpg", + "https://upload.wikimedia.org/wikipedia/commons/thumb/a/af/Stones_members_montage2.jpg/500px-Stones_members_montage2.jpg", ) end end