[BUG] {{noop}} & {{newline}} do not work within assignment or conditional macros (Experimental Macro Engine)

Author: God-damnit-allCreated May 20, 2026Updated Sep 15, 2026
Labels🐛 Bug🧩 Macros

Environment

Windows

System

Chromium 144.0.7559.44

Version

SillyTavern 1.18.0 'staging' (fe048f6bd)

Describe the problem

Straight from the documentation, we're given this example:

{{.myvar += {{noop}} | Second block}}

So if I input the following:

{{.myvar = foo}}{{.myvar += {{noop}} bar}}{{.myvar}}

I'd expect it to become this:

foo bar

But instead I get this:

foobar

Using {{newline}} in assignment macros seems to have the same problem. Not only that, but {{newline}} doesn't work within conditional macros.

If I input the following:

foo{{if 1}}{{newline}}{{/if}}bar

I'd expect it to become this:

foo
bar

But instead it becomes this:

foobar

Please tick the boxes

  • I have explained the issue clearly, and I included all relevant info
  • I have checked that this issue hasn't already been raised
  • I have checked the docs important
  • I confirm that my issue is not related to third-party content, unofficial extension or patch. If in doubt, check with a new user account and with extensions disabled