This commit is contained in:
byte[] 2021-12-21 15:19:35 -05:00
parent 7890e28545
commit 50beea4a35

View file

@ -40,7 +40,9 @@ defmodule Philomena.Scrapers.Pillowfort do
defp title(%{"title" => title}) when title not in [nil, ""], do: [remove_html_tags(title)]
defp title(_), do: []
defp content(%{"content" => content}) when content not in [nil, ""], do: [remove_html_tags(content)]
defp content(%{"content" => content}) when content not in [nil, ""],
do: [remove_html_tags(content)]
defp content(_), do: []
defp remove_html_tags(text) do