Don't sanitize lt and gt from SD prompts

This commit is contained in:
Cohee 2024-07-13 12:12:50 +03:00
parent 63c5330920
commit 31dbb5144e
1 changed files with 1 additions and 1 deletions

View File

@ -2187,7 +2187,7 @@ function processReply(str) {
str = str.replaceAll('“', '');
str = str.replaceAll('.', ',');
str = str.replaceAll('\n', ', ');
str = str.replace(/[^a-zA-Z0-9,:_(){}[\]\-']+/g, ' ');
str = str.replace(/[^a-zA-Z0-9,:_(){}<>[\]\-']+/g, ' ');
str = str.replace(/\s+/g, ' '); // Collapse multiple whitespaces into one
str = str.trim();