From da066da522cd890365e178b8a439e57c6752d7f0 Mon Sep 17 00:00:00 2001 From: Yunus Emre Kalkan Date: Fri, 14 Dec 2018 11:32:10 +0300 Subject: [PATCH] Remove abp-alert-link attribute at the end of process --- .../TagHelpers/Alert/AbpAlertLinkTagHelperService.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Alert/AbpAlertLinkTagHelperService.cs b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Alert/AbpAlertLinkTagHelperService.cs index eed121566f..79372688c3 100644 --- a/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Alert/AbpAlertLinkTagHelperService.cs +++ b/framework/src/Volo.Abp.AspNetCore.Mvc.UI.Bootstrap/TagHelpers/Alert/AbpAlertLinkTagHelperService.cs @@ -8,6 +8,7 @@ namespace Volo.Abp.AspNetCore.Mvc.UI.Bootstrap.TagHelpers.Alert public override void Process(TagHelperContext context, TagHelperOutput output) { output.Attributes.AddClass("alert-link"); + output.Attributes.RemoveAll("abp-alert-link"); } } } \ No newline at end of file