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