[stringtemplate-interest] Anchoring text in nested templates

Roman Odaisky roma at qwertty.com
Tue Apr 28 08:12:29 PDT 2009


Hi,

How do I make text anchor to the first column of text when inside a template 
that’s included with an indent? For example,

outer.st

<div>
    $inner()$
</div>

inner.st

<textarea>
some text
</textarea>

result:

<div>
    <textarea>
    some text
    </textarea>
</div>

which causes extra indent when a user views the result in a browser.

How do I anchor the text to the first column, like this:
<div>
    <textarea>
some text
    </textarea>
</div>

?

-- 
TIA
Roman.



More information about the stringtemplate-interest mailing list