Add beauty

This commit is contained in:
Thelonius Kort
2023-01-24 20:58:38 +01:00
parent 0089d22da4
commit e8e7f877e7

View File

@ -43,7 +43,7 @@ defmodule Outlook.HtmlPreparations.HtmlPreparation do
} | floki_to_internal(rest) ] } | floki_to_internal(rest) ]
end end
def floki_to_internal([ ]), do: ( [ ] ) def floki_to_internal([]), do: []
def set_sibling_with([ %{type: :element} = node | rest ]) 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) ] [ %InternalNode{ node | eph: %{sibling_with: sib_with} } | set_sibling_with(rest) ]
end end
def set_sibling_with([ ]), do: ( [ ] ) def set_sibling_with([]), do: []
def strip_whitespace_textnodes [ %{type: :text} = node | rest] do def strip_whitespace_textnodes [ %{type: :text} = node | rest] do