Fix bug which omits element's attributes

There is a questionable design decision: for
getting the attributes from the %InternalNode{} into
the rendered html output they always have to be copied
into node.eph.attributes. (OutlookWeb.HtmlDocComponent.dnode())
This commit is contained in:
Thelonius Kort
2023-05-28 15:31:08 +02:00
parent 357bcae450
commit 2b25c13095

View File

@ -56,6 +56,7 @@ defmodule Outlook.InternalTree do
def render_public_content(tree, translation, language) do
Translation.render_translation(tree, translation)
|> garnish(%{})
|> Html.render_doc()
|> Hyphenation.hyphenate(language)
end