Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Force a carriage return inside script text

December 13 (10 years ago)
vÍnce
Pro
Sheet Author
How do you make a carriage return inside a text string? <br> and <br /> don't seem to work for me. Thanks
value="text<br />text";
December 13 (10 years ago)

Edited December 13 (10 years ago)
Lithl
Pro
Sheet Author
API Scripter
\n is the newline character. (Technically \r is carriage return and some systems use \r\n to reach the start of a new line, but \n is the key here.)
December 13 (10 years ago)
vÍnce
Pro
Sheet Author
That was the trick Brian. Thank you sir.