hi,
I work with an CMS. This system uses TCL.
A list will built but on livesite you can see the {} in the list. What can I do?
Here's the tcl
<code>
TCL-Script "buildListItems"
//
proc buildListItems {value type args} {
set returnValue ""
foreach row [split $value "\n"] {
if {[string length [string trim $row]] != 0} {
append returnValue "<li>$row</li>"
}
}
return $returnValue
}
//
</code>
I work with an CMS. This system uses TCL.
A list will built but on livesite you can see the {} in the list. What can I do?
Here's the tcl
<code>
TCL-Script "buildListItems"
//
proc buildListItems {value type args} {
set returnValue ""
foreach row [split $value "\n"] {
if {[string length [string trim $row]] != 0} {
append returnValue "<li>$row</li>"
}
}
return $returnValue
}
//
</code>