Hi Tim, Tim Cook wrote:
Can anyone tell me why when I edit a lines property I get leading whitespace inserted? The first line gets seven & each one after that gets 10 spaces.
I tried stripping it out but this didn't seem to have any effect.
...
<textarea name="alt_names:lines" rows="10" cols="50" > <dtml-in alt_names> <dtml-let cur_item=sequence-item>
^^^ here ^here
<dtml-var "_.string.strip(cur_item)">
^^^^^ here ^here
</dtml-let> ^^^here ^ here
</dtml-in> </textarea>
here marks your whitespaces. try: <textarea name="alt_names:lines" rows="10" cols="50" > <dtml-in alt_names><dtml-let cur_item=sequence-item><dtml-var "_.string.strip(cur_item)"> </dtml-let></dtml-in></textarea> Ugly code, but... HTH Tino