HTML escape the wallet name in more dialogs and notifications

This commit is contained in:
Andrew Chow
2019-09-08 16:40:05 -04:00
parent 189c19e012
commit 1770a972d4
3 changed files with 3 additions and 3 deletions

View File

@@ -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