mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-04-26 16:38:43 +02:00
Check for whitespace-only WI format
This commit is contained in:
parent
9eb404a275
commit
0ca880bf60
@ -689,7 +689,7 @@ function formatWorldInfo(value) {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!oai_settings.wi_format) {
|
if (!oai_settings.wi_format.trim()) {
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user