Typophile

Behavior of the code tag

The <code> tag in posts here does not behave as one might expect.

Leading spaces on a line are still trimmed, and multiple spaces are reduced to a single space. Thus, it doesn't behave like the <pre> tag in HTML.

Captured from commoncrawl.org on 19 Apr 2015. original URL