Skip to content

Commit

Permalink
chore: restore escape of deferred message
Browse files Browse the repository at this point in the history
  • Loading branch information
yanfali committed Oct 23, 2024
1 parent bc5ae10 commit c1c6efa
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/store/status.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,9 @@ export const useStatusStore = defineStore('status', {
async (response) => {
if (response.ok) {
const description = await response.text();
this.message = `${escape(description)}${this.deferredMessage}`;
this.message = `${escape(description)}${escape(
this.deferredMessage
)}`;
this.deferredMessage = '';
this.scrollToEnd();
}
Expand Down

0 comments on commit c1c6efa

Please sign in to comment.