From e8e7f877e739b000e4bf3cc75b6cf61e15610d9e Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Tue, 24 Jan 2023 20:58:38 +0100 Subject: [PATCH] Add beauty --- lib/outlook/html_preparations/html_preparation.ex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/outlook/html_preparations/html_preparation.ex b/lib/outlook/html_preparations/html_preparation.ex index dbe3810..1536ba1 100644 --- a/lib/outlook/html_preparations/html_preparation.ex +++ b/lib/outlook/html_preparations/html_preparation.ex @@ -43,7 +43,7 @@ defmodule Outlook.HtmlPreparations.HtmlPreparation do } | floki_to_internal(rest) ] end - def floki_to_internal([ ]), do: ( [ ] ) + def floki_to_internal([]), do: [] def set_sibling_with([ %{type: :element} = node | rest ]) do @@ -61,7 +61,7 @@ defmodule Outlook.HtmlPreparations.HtmlPreparation do [ %InternalNode{ node | eph: %{sibling_with: sib_with} } | set_sibling_with(rest) ] end - def set_sibling_with([ ]), do: ( [ ] ) + def set_sibling_with([]), do: [] def strip_whitespace_textnodes [ %{type: :text} = node | rest] do