'How to have newline between variables?

In a text field in tasker, I want to put two variables with a newline between them:

%var1\n%var2

But this doesn't work. How can I do this properly?



Solution 1:[1]

Simply hit Enter in the field:

%var1
%var2

Solution 2:[2]

Some of my Tasker variables support HTML format. It's optional. You need to tick the checkbox to enable HTML format for such variables. After that, just use <br> to insert a line break

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1
Solution 2 Ooker