[Zope] Using DTML method without HTML rendering?

Hannu Krosing hannu@tm.ee
Wed, 15 Sep 1999 22:43:02 +0300


Li Dongfeng wrote:
> 
> The basic benefit of DTML method and document is
> that you can use dynamic substitution in
> the contents. This is like the "macro" mechanism
> in C(of course, much more powerful).
> 
> Question:
>   Can I use the dynamic substution of DTML,
> but suppress the HTML rendering?
> 
>   For example, if I have a source program
> saying
> 
>     x <- 1
> 
> the DTML rendering will convert the string
> to "x &lt;- 1". Can I suppress this? How can
> I do this in Python code?

I just tried it and it did'nt convert it.

Can you be more specific about what you do ?

it should do this converion only when you specify html-quote in var tag.

-------
Hannu