Linebreak in <textarea> in ui_template

Little problem.

Have a template node in which a html textarea is created.


Now I would like to place some numbers (1 2 3 4) there.
However, each number should be on a new line.
The following attempts with control characters failed and were displayed in plain text in exactly the same way.

1
2
3
4
1
2
3
4
1\n2\n3\n4
1\r\n2\r\n3\r\n4

Someone got an idea?

Also is not working. in real html it works perfect... :weary:

grafik

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.