Reputation: 1064
How to move text to a new line in XUL without html:br
? is there a newline character in XUL or something like this?
<description>
Some
text
here
</description>
Upvotes: 1
Views: 789
Reputation: 57651
The <description>
element can respect line breaks, the same as <html:p>
. You simply have to use the white-space
CSS property:
<description style="white-space: pre-wrap;">
Some
text
here
</description>
Upvotes: 3