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

Request notifications

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?

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.