Merge pull request #4834 from umbraco/temp-4609-rte-not-rendering-macros-correctly

Bugfix: Could not render macros in RTE
This commit is contained in:
Stephan
2019-03-04 09:29:06 +01:00
committed by GitHub

View File

@@ -57,7 +57,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters
macroAlias,
umbracoContext.PublishedRequest?.PublishedContent,
//needs to be explicitly casted to Dictionary<string, object>
macroAttributes.ConvertTo(x => (string)x, x => x)).ToString()));
macroAttributes.ConvertTo(x => (string)x, x => x)).GetAsText()));
return sb.ToString();
}