Add beauty
This commit is contained in:
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user