in reply to Why is "\n" displayed as space in browser?

use two:

\n\n

together.

—Brad
"The important work of moving the world forward does not wait to be done by perfect men." George Eliot

Replies are listed 'Best First'.
Re^2: Why is "\n" displayed as space in browser?
by pobocks (Chaplain) on Mar 17, 2009 at 06:34 UTC

    Does not work, sorry to say. Any amount of whitespace is interpreted as a space by HTML.

    This: An apple a day, keeps the doctor away. is the same as this:
    An apple a day keeps the doctor away.
    for(split(" ","tsuJ rehtonA lreP rekcaH")){print reverse . " "}print "\b.\n";