mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Onebox images are not downloaded locally without css class
This commit is contained in:
@@ -193,7 +193,7 @@ class CookedPostProcessor
|
||||
end
|
||||
|
||||
def oneboxed_images
|
||||
@doc.css(".onebox-body img, .onebox img")
|
||||
@doc.css(".onebox-body img, .onebox img, img.onebox")
|
||||
end
|
||||
|
||||
def limit_size!(img)
|
||||
|
||||
Reference in New Issue
Block a user