From 56d9086d377bde17a7d1b334230e95fcc708bc53 Mon Sep 17 00:00:00 2001 From: Dolunay Date: Fri, 13 Dec 2024 21:12:17 +0300 Subject: [PATCH] If a value containing HTML comes from the GetConvertedFieldValue method of the grid, MarkupString transformation is required to display it. --- .../Components/AbpExtensibleDataGrid.razor | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor index 29010dded6..2547a7930c 100644 --- a/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor +++ b/framework/src/Volo.Abp.BlazoriseUI/Components/AbpExtensibleDataGrid.razor @@ -112,7 +112,7 @@ Sortable="@column.Sortable" Displayable="column.Visible"> - @(GetConvertedFieldValue(context, column)) + @((MarkupString)GetConvertedFieldValue(context, column)) } @@ -140,7 +140,7 @@ { if (column.ValueConverter != null) { - @(GetConvertedFieldValue(context, column)) + @((MarkupString)GetConvertedFieldValue(context, column)) } else {