visionmedia/jade — Issue #465: can't preserve whitespace in textarea (expression value)
Author: vasili-zolotov
Created: 2012-01-07 06:56:02+00:00
State: open

I'm trying to display a value inside an HTML textarea and I need original whitespace preserved including line breaks. There doesn't seem to be a way to do this.

When I do this, whitespace is mangled.

```textarea= some_variable.value```

Textearea is special in HTML in that renders whitespace in content by design because it's for multi-line text. So it's kind of broken form HTML perspective when there is no way to do it.