[Zope] dtml-var bug ?

Jamie Heilman jamie@audible.transient.net
Tue, 22 Jul 2003 00:19:29 -0700


Thierry Florac wrote:
> I've noticed a curious thing : I have a text property, which I display with 
> <dtml-var myproperty html_quote size=200>, so that only the first 200 
> characters are displayed. 
> The problem is that sometimes, the output is truncated in the middle of an 
> HTML tag (generally a <br>), which can be quite confusing for several 
> browsers...

Perhaps you ment the output is truncated in the middle of an HTML
entity?  html_quote shouldn't ever generate markup apart from
character entities.