diff --git a/src/BootstrapBlazor/Extensions/ITableColumnExtensions.cs b/src/BootstrapBlazor/Extensions/ITableColumnExtensions.cs index b09b24f7232..484816039dd 100644 --- a/src/BootstrapBlazor/Extensions/ITableColumnExtensions.cs +++ b/src/BootstrapBlazor/Extensions/ITableColumnExtensions.cs @@ -225,7 +225,12 @@ public static List ToSearches(this IEnumerable colu { pb.OpenComponent(0); pb.AddAttribute(1, nameof(Tooltip.Title), text); - pb.AddAttribute(2, nameof(Tooltip.ChildContent), new RenderFragment(builder => builder.AddContent(0, text))); + pb.AddAttribute(2, nameof(Tooltip.ChildContent), new RenderFragment(builder => + { + builder.OpenElement(0, "span"); + builder.AddContent(10, text); + builder.CloseElement(); + })); pb.CloseComponent(); } else if (col.IsMarkupString)