Set Value - HTML adding \n to code

Wappler Version : 3.9.3
Operating System : Mac Big Sur (M1)
Server Model: PHP
Database Type: MySQL
Hosting Type: AWS Docker

Expected behavior

What do you think should happen?

When editing HTML in a SC API file, it should ignore new lines created with the enter key.

Actual behavior

What actually happens?
The original HTML looked like this (edited with HTML selected):

I then saved the file and reopened the value to change something. The HTML was no longer formatted and new lines had been added:

This is setting the value for message content to be sent to a Library action that then sends the email. The resultant email has the /n shown:
image

At the moment it seems the options are to:

  • create the HTML in one line
  • create the HTML save the value, go back in and remove all the /n parts once it has been converted to a single line

Where did you copy the html from?

Looks like not all issues were resolved as reported here: Set Value Removing HTML from Value & Binding Issue [URGENT]

1 Like

I typed the HTML in - no copy/paste at all

Fixed in Wappler 3.9.5

This topic was automatically closed after 28 hours. New replies are no longer allowed.