Commit 53eb7322 authored by Ken Manheimer's avatar Ken Manheimer

Prevent the spurious generation of newlines at the end of :lines

textareas.

(This may be a bit of a hack.  It appears that #in directives handle
newline whitespace differently than #if - #if seems to ignore it!  To
account for this i used a literal '\n' string, to be included after
every but the last value.)
parent 138c7357
......@@ -61,8 +61,8 @@ values and click "Save Changes".
"getProperty(id)"--></textarea>
<!--#elif "type=='lines'"-->
<textarea name="<!--#var id-->:lines" rows="6" cols="35"><!--#in
"getProperty(id)"--><!--#var sequence-item-->
<!--#endin--></textarea>
"getProperty(id)"--><!--#var sequence-item--><!--#if
sequence-end--><!--#else--><!--#var "'\n'"--><!--#/if--><!--#endin--></textarea>
<!--#elif "type=='selection'"-->
<!--#if "_.has_key(select_variable)"-->
<select name="<!--#var id-->">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment