Home
The Toolkit for Online Communities
17477 Community Members, 0 members online, 2139 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : html tags in .tcl files problem (oacs 5.2)

Forum OpenACS Q&A: html tags in .tcl files problem (oacs 5.2)

Icon of envelope Request notifications

Collapse
Posted by Jay Dubanik on
We have a brand new installation of oacs 5.2 and encountering the following problem:
HTML tags are not parsed when written in .tcl page.

ie. when in tcl page we write:
set myText "<b>some text</b>"

and try to display this in .adp by placing @myText@

we get in the browser the following:
<b>some text</b>

and not some text

Any ideas?

Collapse
Posted by Victor Guerra on
Hi Jay,
the way to go is to put in the .adp file: @mytext;noquote@.

All variables are quoted by default, except those explicitly protected by ;noquote.