Add rendering the translation with title tags
This commit is contained in:
@ -1,6 +1,6 @@
|
||||
defmodule Outlook.InternalTree do
|
||||
|
||||
alias Outlook.InternalTree.{Html,Modifiers,RawInternalBasic,InternalTree}
|
||||
alias Outlook.InternalTree.{Html,Modifiers,RawInternalBasic,InternalTree,Translation}
|
||||
alias Outlook.HtmlPreparations.HtmlPreparation
|
||||
|
||||
def render_html(tree) do
|
||||
@ -35,4 +35,8 @@ defmodule Outlook.InternalTree do
|
||||
)
|
||||
InternalTree.garnish(tree, options)
|
||||
end
|
||||
|
||||
def render_translation(tree, translation) do
|
||||
Translation.render_translation(tree, translation)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user