mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-09 08:38:53 +01:00
Sanitize error text
This commit is contained in:
parent
d5f6849c8e
commit
2f2a4fca35
@ -1350,7 +1350,7 @@ class PromptManager {
|
||||
|
||||
const errorDiv = `
|
||||
<div class="${this.configuration.prefix}prompt_manager_error">
|
||||
<span class="fa-solid tooltip fa-triangle-exclamation text_danger"></span> ${this.error}
|
||||
<span class="fa-solid tooltip fa-triangle-exclamation text_danger"></span> ${DOMPurify.sanitize(this.error)}
|
||||
</div>
|
||||
`;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user