diff --git a/lib/outlook/internal_tree.ex b/lib/outlook/internal_tree.ex index 321eef5..a182dba 100644 --- a/lib/outlook/internal_tree.ex +++ b/lib/outlook/internal_tree.ex @@ -54,4 +54,10 @@ defmodule Outlook.InternalTree do def render_translation(tree, translation) do Translation.render_translation(tree, translation) end + + def legacy_export(tree, translation) do + Translation.render_translation(tree, translation) + |> garnish(%{tunits: %{class: "ttrans", "data-ttrans-status": fn n -> Map.get(n, :status) end}}) + |> Html.render_doc + end end