From 2effa6f79635f6d1eb0528b8317e4e7da7de99aa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jean-Thierry=20K=C3=A9chichian?= Date: Thu, 5 Nov 2020 04:32:44 +0100 Subject: [PATCH] Don't encode ShapeStringify (#7503) --- .../Filters/LiquidViewFilters.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Filters/LiquidViewFilters.cs b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Filters/LiquidViewFilters.cs index 715f0699800..a253d50b04e 100644 --- a/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Filters/LiquidViewFilters.cs +++ b/src/OrchardCore/OrchardCore.DisplayManagement.Liquid/Filters/LiquidViewFilters.cs @@ -108,7 +108,7 @@ static async ValueTask Awaited(Task task) using (var writer = new StringWriter()) { task.Result.WriteTo(writer, NullHtmlEncoder.Default); - value = new StringValue(writer.ToString()); + value = new StringValue(writer.ToString(), false); } return new ValueTask(value);