3 ms·
Whitespace gets mostly passed straight to the browser, meaning newlines, tabs, and consecutive spaces get rendered as a single space. The exceptions are: two co
by Sharlin 9y ago
Whitespace gets mostly passed straight to the browser, meaning newlines, tabs, and consecutive spaces get rendered as a single space. The exceptions are: two consecutive newlines start a new paragraph, and two spaces at the start of a line denote a preformatted (“code”) block.
- Sylos 9y agoThat explains some things. I always thought it was just some badly designed attempt to prevent comment spam where someone just posts a whole bunch of newlines.