Add rendering the translation with title tags

This commit is contained in:
Thelonius Kort
2023-01-14 22:04:28 +01:00
parent 705c7d2b53
commit a95131bdbb
4 changed files with 45 additions and 2 deletions

View File

@ -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