Closed Timo-Breumelhof closed 3 years ago
Ok, this is caused by removal of the method in DNN which has been re-added here: https://github.com/dnnsoftware/Dnn.Platform/commit/2e19fbff8c163796bd44a3253b4639de12cfc43f#diff-e16ba089399e7b57b56084598a4eddb21d324c15872728be0bf189b6bfaf5754
Wait for that or replace the function with the more low level (what "convertHtmlToText" does too)
var formattedHtml = HtmlUtils.FormatText(sHTML, true);
var styleLessHtml = HtmlUtils.RemoveInlineStyle(formattedHtml);
return HtmlUtils.StripTags(styleLessHtml, true);
The issue in DNN seems to be fixed in DNN 9.9.0
Fixed in 04.06.00
{{convertHtmlToText (truncateWords Text 250)}}
leads to this error in DNN 9.8.0:
https://github.com/sachatrauwaen/OpenContent/blob/a3dadd8cc7414ad622ff6bc3e0f0cd9aed41ae3a/OpenContent/Components/Handlebars/HandlebarsEngine.cs#L1053
I guess this was introduced by the introduction of the email provider?