PHP Server Action Replacing \n with \\n

Wappler Version: 7.8.2
Server Type: PHP

Expected behavior

What do you think should happen?

In a .replace(), Wappler needs to retain the value of \n within the PHP it creates.

Actual behavior

What actually happens?

The value of \n is replaced with \\n and the new line is not found and replaced.

Patrick knows all the details and documented them here…

Community Page
Last updated: