Newline in a Message Unit

30 Oct '14, 07:32 AM
2,997 Views
Forum Forum Starter - Level 3

Hi,

I'd like to add a newline inside the text of a Message Unit. Html tags appear as chars, and '\n' seems not to work.

Any ideas?

Tks!

 
x 1
Follow
Answer Answer at this question and get points!
Forum Expert - Level 6

Hi Ettore,

you can use the <br> HTML tag to add a new line in the text of a Message Component.

If HTML tags are shown as chars it means that the Component is using the wrong template configuration.

So select the Component from the Page, and select the Component from the Layout View. From the Layout Properties open the Layout Parameters dialog (using the blue dot) and set the Content Type property to 'text/HTML'.

Let me know if this helps you!

Regards

Lucio

   
x 2
Forum Starter - Level 3

Tks, it works fine!

Learned lesson: don't forget to set in the Layout Properties the Content Type to 'text/HTML'.

 

 
x 0
Answer at this question and get points!