Currently I\'m putting newlines in strings through one of these two methods:
I was looking for a way to output a new line in
, so I figured I'd leave my answer for anyone else who arrived in a similar fashion:
writeDump(variable); // writeDump will not produce a new line.
writeOutput("
"); // you have to use writeOutput.
writeOutput appends to the page-output stream as html, so you need to write html for it to output (this means you can also include
to add spaces for indentation).