Home
The Toolkit for Online Communities
15899 Community Members, 0 members online, 2430 visitors today
Log In Register

Forum OpenACS Q&A: Re: escaping strings

OpenACS Home : Forums : OpenACS Q&A : Re: escaping strings : One Message

+
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>