Wappler 4.0.0 Beta 12: code broken when using replace with special character

Sorry I just want to report that did try to use replace formatter with special char on Wappler 4.0.0 Beta 12 but the UI broke the code.

What I did:
.replace('[[', '').replace(']', '').replace('[', '</br>')

Result:
broken code with undefined ++ or just empty

The code works when manually handcoded so I think it’s the issue with the interface.