[Zope] tal:attributes and semicolon - bug or "feature"?

Chris McDonough chrism@zope.com
30 May 2003 16:30:20 -0400


A literal semicolon in a TALES expression typically needs to be
expressed as ';;'

Does this work?

<a tal:attributes="href python:'javascript:alert(\'hi;;\')'">hi</a>

On Fri, 2003-05-30 at 16:22, Jamie Heilman wrote:
> Mark Gibson wrote:
> > This works:
> > <a tal:attributes="href python:'javascript:alert(\'hi\')'">hi</a>
> > 
> > This doesn't:
> > <a tal:attributes="href python:'javascript:alert(\'hi;\')'">hi</a>
> 
> sure smells like a bug to me
> 
> -- 
> Jamie Heilman                   http://audible.transient.net/~jamie/
> "We must be born with an intuition of mortality.  Before we know the words
>  for it, before we know there are words, out we come bloodied and squalling
>  with the knowledge that for all the compasses in the world, there's only
>  one direction, and time is its only measure."		-Rosencrantz
> 
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://mail.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists - 
>  http://mail.zope.org/mailman/listinfo/zope-announce
>  http://mail.zope.org/mailman/listinfo/zope-dev )