UX: Do not use small onebox images as post/topic images
This commit is contained in:
parent
bec6bace53
commit
956d15d13f
|
@ -216,7 +216,11 @@ class CookedPostProcessor
|
|||
# minus images inside quotes
|
||||
@doc.css(".quote img") -
|
||||
# minus onebox site icons
|
||||
@doc.css("img.site-icon")
|
||||
@doc.css("img.site-icon") -
|
||||
# minus onebox avatars
|
||||
@doc.css("img.onebox-avatar") -
|
||||
# minus small onebox images (large images are .aspect-image-full-size)
|
||||
@doc.css(".onebox .aspect-image img")
|
||||
end
|
||||
|
||||
def oneboxed_images
|
||||
|
|
Loading…
Reference in New Issue