From ecb1ef2eeed22d52c1898712191c71df2c4d431e Mon Sep 17 00:00:00 2001 From: Thelonius Kort Date: Thu, 12 Jan 2023 20:55:11 +0100 Subject: [PATCH] Fix issue with saved eph field --- lib/outlook/internal_tree/basic.ex | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/outlook/internal_tree/basic.ex b/lib/outlook/internal_tree/basic.ex index cb5e50b..faec622 100644 --- a/lib/outlook/internal_tree/basic.ex +++ b/lib/outlook/internal_tree/basic.ex @@ -4,7 +4,7 @@ defmodule Outlook.InternalTree.Basic do alias Outlook.InternalTree.TranslationUnit def clean_eph([%TranslationUnit{} = node | rest]) do - [ node | rest ] + [ %TranslationUnit{node | eph: %{}} | clean_eph(rest) ] end def clean_eph([%InternalNode{type: :element} = node | rest]) do