mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add {{newline}} and {{pipe}} macros
This commit is contained in:
@ -2010,6 +2010,7 @@ function substituteParams(content, _name1, _name2, _original, _group, _replaceCh
|
||||
}
|
||||
|
||||
content = replaceVariableMacros(content);
|
||||
content = content.replace(/{{newline}}/gi, "\n");
|
||||
content = content.replace(/{{input}}/gi, String($('#send_textarea').val()));
|
||||
|
||||
if (_replaceCharacterCard) {
|
||||
|
Reference in New Issue
Block a user