Skip to content
Permalink
Browse files

FIX: do not resize xkcd image

  • Loading branch information
techAPJ committed Oct 22, 2019
1 parent 5b297c3 commit 82986e313708143ab9537d3909a98be41bf32c75
Showing with 4 additions and 2 deletions.
  1. +1 −1 lib/onebox/version.rb
  2. +3 −1 templates/xkcd.mustache
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Onebox
VERSION = "1.9.19"
VERSION = "1.9.20"
end
@@ -1,5 +1,7 @@
<h3><a href='{{link}}' target='_blank'>{{title}}</a></h3>

<img src="{{image}}" />
{{#image}}
<div class="xkcd-image"><img src="{{image}}"/></div>
{{/image}}

<p>{{description}}</p>

1 comment on commit 82986e3

@discoursebot

This comment has been minimized.

Copy link

discoursebot commented on 82986e3 Oct 22, 2019

This commit has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/xkcd-onebox-image-getting-resized/131613/4

Please sign in to comment.
You can’t perform that action at this time.