I have been searching for a way to insert linebreaks in my code for when I view my source. I am not looking for
Something like the PHP equiv t
For me, using "\n" didn't work and resulted in \n appearing as text on the webpage rather than as a newline in the source code view, however using chr(10) did work. Using CrLf was not an option for me as that generates a windows line ending (\r\n) and I needed the Linux line ending which is just the linefeed (\n).