Sanitize HtmlTreeComponent
This commit is contained in:
@ -11,10 +11,4 @@ defmodule Outlook.HtmlPreparations do
|
||||
|> HtmlPreparation.floki_to_internal
|
||||
|> HtmlPreparation.set_sibling_with
|
||||
end
|
||||
|
||||
def get_tree_items(content_tree) do
|
||||
content_tree
|
||||
|> HtmlPreparation.strip_whitespace_textnodes
|
||||
|> HtmlPreparation.build_indentation_list(0)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user