Fix inline script tags not being removed
This commit is contained in:
parent
54c6a1ca0a
commit
b0089083db
|
@ -135,8 +135,9 @@ defmodule Frenzy.Pipeline.ScrapeStage do
|
|||
end
|
||||
|
||||
html =
|
||||
Floki.find_and_update(
|
||||
html,
|
||||
html
|
||||
|> Floki.filter_out("script")
|
||||
|> Floki.find_and_update(
|
||||
"img",
|
||||
rewrite_image_urls(convert_to_data_uris, URI.parse(url))
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue