From 6912e0567749a2fe97128577a06cf5e4c6e0ed77 Mon Sep 17 00:00:00 2001 From: James Cole Date: Mon, 6 Mar 2023 21:00:27 +0100 Subject: [PATCH] Fix #7159 --- .../assets/js/components/transactions/CreateTransaction.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/assets/js/components/transactions/CreateTransaction.vue b/resources/assets/js/components/transactions/CreateTransaction.vue index 4f085f42e2..d16c16c1b6 100644 --- a/resources/assets/js/components/transactions/CreateTransaction.vue +++ b/resources/assets/js/components/transactions/CreateTransaction.vue @@ -529,7 +529,7 @@ export default { // if count is 0, send user onwards. if (this.createAnother) { // do message: - this.success_message = this.$t('firefly.transaction_stored_link', {ID: groupId, title: $(title).text()}); + this.success_message = this.$t('firefly.transaction_stored_link', {ID: groupId, title: this.escapeHTML(title)}); this.error_message = ''; if (this.resetFormAfter) { // also clear form.