diff --git a/src/Umbraco.Web/PropertyEditors/ValueConverters/MacroContainerValueConverter.cs b/src/Umbraco.Web/PropertyEditors/ValueConverters/MacroContainerValueConverter.cs index 436d131bcd..74ad2090ff 100644 --- a/src/Umbraco.Web/PropertyEditors/ValueConverters/MacroContainerValueConverter.cs +++ b/src/Umbraco.Web/PropertyEditors/ValueConverters/MacroContainerValueConverter.cs @@ -12,7 +12,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters /// Ensures macro syntax is parsed for the macro container which will work when getting the field /// values in any way (i.e. dynamically, using Field(), or IPublishedContent) /// - [PropertyValueType(typeof (IHtmlString))] + [PropertyValueType(typeof(IHtmlString))] [PropertyValueCache(PropertyCacheValue.All, PropertyCacheLevel.Request)] [DefaultPropertyValueConverter] public class MacroContainerValueConverter : PropertyValueConverterBase @@ -64,7 +64,7 @@ namespace Umbraco.Web.PropertyEditors.ValueConverters // ensure string is parsed for macros and macros are executed correctly sourceString = RenderMacros(sourceString, preview); - return sourceString; + return new HtmlString(sourceString); } } -} \ No newline at end of file +}