Skip to content

Commit

Permalink
Don't HTML Decode the template to not break escaped HTML
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian Krönert committed Jan 19, 2023
1 parent 3fc330e commit fcd36a4
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/plugin/Xrm.Oss.XTL.Templating/XTLProcessor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -223,9 +223,6 @@ private static string RetrieveTemplate(string template, string templateField, En
throw new InvalidDataException("You must either pass a template text or define a template field");
}


// Templates inside e-mails will be HTML encoded
templateText = WebUtility.HtmlDecode(templateText);
return templateText;
}

Expand Down

0 comments on commit fcd36a4

Please sign in to comment.