mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-01-23 07:51:18 +01:00
Don't sanitize lt and gt from SD prompts
This commit is contained in:
parent
63c5330920
commit
31dbb5144e
@ -2187,7 +2187,7 @@ function processReply(str) {
|
|||||||
str = str.replaceAll('“', '');
|
str = str.replaceAll('“', '');
|
||||||
str = str.replaceAll('.', ',');
|
str = str.replaceAll('.', ',');
|
||||||
str = str.replaceAll('\n', ', ');
|
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.replace(/\s+/g, ' '); // Collapse multiple whitespaces into one
|
||||||
str = str.trim();
|
str = str.trim();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user