mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Check for whitespace-only WI format
This commit is contained in:
@ -689,7 +689,7 @@ function formatWorldInfo(value) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!oai_settings.wi_format) {
|
if (!oai_settings.wi_format.trim()) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user