mirror of
https://github.com/bitcoin/bitcoin.git
synced 2025-11-11 14:38:29 +01:00
HTML escape the wallet name in more dialogs and notifications
This commit is contained in:
@@ -283,7 +283,7 @@ void SendCoinsDialog::on_sendButton_clicked()
|
||||
// generate amount string with wallet name in case of multiwallet
|
||||
QString amount = BitcoinUnits::formatWithUnit(model->getOptionsModel()->getDisplayUnit(), rcp.amount);
|
||||
if (model->isMultiwallet()) {
|
||||
amount.append(tr(" from wallet '%1'").arg(model->getWalletName()));
|
||||
amount.append(tr(" from wallet '%1'").arg(GUIUtil::HtmlEscape(model->getWalletName())));
|
||||
}
|
||||
|
||||
// generate address string
|
||||
|
||||
Reference in New Issue
Block a user