FIX: Onebox images are not downloaded locally without css class

This commit is contained in:
Vinoth Kannan
2018-08-01 02:51:02 +05:30
parent 4b166cccc1
commit 6aee22b88f
2 changed files with 19 additions and 1 deletions

View File

@@ -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)