From 50beea4a35bc6c212fc15a129edd269be803bb46 Mon Sep 17 00:00:00 2001 From: "byte[]" Date: Tue, 21 Dec 2021 15:19:35 -0500 Subject: [PATCH] format --- lib/philomena/scrapers/pillowfort.ex | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/philomena/scrapers/pillowfort.ex b/lib/philomena/scrapers/pillowfort.ex index 80d9bddd..b577c819 100755 --- a/lib/philomena/scrapers/pillowfort.ex +++ b/lib/philomena/scrapers/pillowfort.ex @@ -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