Skip to content
Permalink
Browse files

FIX: prioritize `card_html` over `article_html`.

  • Loading branch information...
techAPJ committed Jul 25, 2019
1 parent 1cbe508 commit b1f8eafd3f774029d4950946fdee751c02073e83
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/onebox/engine/whitelisted_generic_onebox.rb
@@ -269,8 +269,8 @@ def generic_html
return video_html if is_video?
return image_html if is_image?
return embedded_html if is_embedded?
return article_html if has_text?
return card_html if is_card?
return article_html if has_text?
end

def is_card?

1 comment on commit b1f8eaf

@discoursebot

This comment has been minimized.

Copy link

commented on b1f8eaf Aug 5, 2019

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

https://meta.discourse.org/t/vimeo-onebox-not-working/111123/12

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