Commit a2bb5d89 authored by kaniini's avatar kaniini

html: don't attempt to parse nil content

parent 03991e7b
Pipeline #7077 passed with stages
in 4 minutes and 59 seconds
......@@ -59,6 +59,8 @@ defp generate_scrubber_signature(scrubbers) do
end)
end
def extract_first_external_url(_, nil), do: {:error, "No content"}
def extract_first_external_url(object, content) do
key = "URL|#{object.id}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment