mirror of
https://github.com/philomena-dev/philomena.git
synced 2024-11-30 14:57:59 +01:00
format
This commit is contained in:
parent
7890e28545
commit
50beea4a35
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue