Home
The Toolkit for Online Communities
17619 Community Members, 1 member online, 2641 visitors today
Log In Register
OpenACS Home : Forums : OpenACS Q&A : escaping strings : One Message

Forum OpenACS Q&A: Re: escaping strings

Collapse
3: Re: escaping strings (response to 2)
Posted by Tilmann Singer on
Ideally you shouldn't construct html in the tcl code in the first place. If you follow this advice, the issue becomes less important because you have to build much fewer strings with quotes in them.

tcl:

set list_url "file-list?[export_vars path]"

adp:

<a href="@list_url@">test</a>