These are chat archives for Zhouzi/TheaterJS

Feb 2016
Laure Kamalandua
Feb 07 2016 11:58
Well, just a small question
I can't seem to find how to implement a line break using TheatherJS
when adding \n it does not work
Gabin Aureche
Feb 07 2016 18:11
Hey @LaureKamalandua! Actually the \n character doesn't add a line break within html unless you've added the required styles (e.g white-space: pre-line). If you don't want to play with the css, you could go with a regular <br> instead of the \n. As a side note, \n do add a line break in input elements such as textarea. I've created a fiddle:
Let me know if that fixes your issue :)