Add TunitModifications with first modifier unite_with_next
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
defmodule Outlook.InternalTree do
|
||||
|
||||
alias Outlook.InternalTree.{Html,Modifiers,RawInternalBasic,InternalTree,Translation}
|
||||
alias Outlook.InternalTree.{Html,Modifiers,RawInternalBasic,InternalTree,Translation,TunitModifications}
|
||||
alias Outlook.HtmlPreparations.HtmlPreparation
|
||||
alias Outlook.{Hyphenation, Translations}
|
||||
|
||||
@ -71,4 +71,8 @@ defmodule Outlook.InternalTree do
|
||||
InternalTree.collect_tunit_ids(tree)
|
||||
# |> List.flatten()
|
||||
end
|
||||
|
||||
def modify_tunits(tree, modifier, tu_ids) do
|
||||
TunitModifications.apply_modifier(tree, modifier, tu_ids)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user