Disable Haml indentation for text areas as well (wincent.dev, fcb2803)

In "edit" forms Haml was indenting the text that appeared inside <textarea></textarea> spans, which basically mangled the wikitext, making it impossible to edit any article without ruining it.

So wrap the text areas in preserve() calls to prevent this. This results in some very ugly source code so I am keen to find a more elegant solution.

Signed-off-by: Greg Hurrell <greg@hurrell.net>

← Show spinner graphic while updating preview (wincent.dev, a7dd462)
Use "post" rather than "get" for wiki article AJAX preview (wincent.dev, 4f318b5) →

All snippets