Allen's Dev Blog

How am I just now finding out about this?

September 17, 2020 — Allen

White space is typically ignored in HTML and <pre> is usually not what I"m looking for either, both because it changes to a monospace font and also because it doesn't respect the box model. TIL that CSS has white-space: pre-line; and that it does exactly what I'd always wanted when typing content in HTML.

Tags: css, TIL