[Templates] indent-ing and formatted text (<textarea> / <pre>)

Nathaniel Nuss ogmoid@gmail.com
Sat, 9 Jun 2007 17:59:38 -0700


I'm WRAPPER-ing a series of templates and applying the indent filter to
content at each level. I have in the initial/deepest template a (usually)
multi-line <textarea>[% sometext %]</textarea>.

As you might expect I'll get something like this:
...
                <div>
                  <textarea>Multi-line text
                     Multi-line text
                     Multi-line text</textarea>
                </div>
...

Which shows up in a browser something like this:
Multi-line text
                     Multi-line text
                     Multi-line text

I'd like to avoid that leading whitespace on subsequent lines and I'd like to
keep the indent filters and WRAPPER chain.

Any suggestions on how I could have my cake and ... ?

TIA

-- 
Nate Nuss