From f6bc16007d3e25db05ee076496610dee8a7ae6df Mon Sep 17 00:00:00 2001 From: Dennis Reimann Date: Tue, 21 Mar 2023 15:21:24 +0100 Subject: [PATCH] Label tooltips: Use plain text instead of HTML Fixes #4790. --- BTCPayServer/Controllers/UIWalletsController.cs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/BTCPayServer/Controllers/UIWalletsController.cs b/BTCPayServer/Controllers/UIWalletsController.cs index 5b344b69c..76dc7fe9b 100644 --- a/BTCPayServer/Controllers/UIWalletsController.cs +++ b/BTCPayServer/Controllers/UIWalletsController.cs @@ -1433,8 +1433,7 @@ namespace BTCPayServer.Controllers { 0 => PayoutTooltip(), 1 => PayoutTooltip(payoutsByPullPaymentId.First()), - _ => - $"" + _ => string.Join(", ", payoutsByPullPaymentId.Select(PayoutTooltip)) }; model.Link = _linkGenerator.PayoutLink(transactionInfo.WalletId.ToString(), null, PayoutState.Completed, Request.Scheme, Request.Host, @@ -1442,7 +1441,7 @@ namespace BTCPayServer.Controllers } else if (tag.Type == WalletObjectData.Types.Payjoin) { - model.Tooltip = $"This UTXO was part of a PayJoin transaction."; + model.Tooltip = "This UTXO was part of a PayJoin transaction."; } else if (tag.Type == WalletObjectData.Types.Invoice) {