9elements/haml-coffee — Issue #4: Extraneous whitespace inserted into <textarea>
Author: facto
Created: 2011-10-12 21:23:20+00:00
State: open

The original HAML implementation [solves this problem](http://haml-lang.com/docs/yardoc/file.FAQ.html#q-preserve), but it doesn't appear to be implemented yet in haml-coffee.

I'm assuming this happens with other whitespace-sensitive tags as well (e.g., pre ), but I haven't tried it.

Auto-detection of tags would be nice. There should at least be some way to replace whitespace within these tags with their corresponding HTML entities.

I'm not aware of any workarounds other than clearing out the textarea with JavaScript.