[ZPT] Re: [Zope] prevent quoting in tal:attributes

Jean Jordaan jean at upfrontsystems.co.za
Fri Sep 26 08:58:19 EDT 2003


>> not in the slightest: &Auml; is not structure like <a href> but 
>> actually a straight string. Please treat it as such.
> 
> What about if you want it use it in a URL?
> How should one go about using it then?

Wouldn't that be something like:
  'tal:attributes="href path_with_%26_ampersand"'

(from looking at
urllib.quote('search?ResCurrPage=0&q=popoon&ResSearchMode=all&searchsub=suchen')
'search%3FResCurrPage%3D0%26q%3Dpopoon%26ResSearchMode%3Dall%26searchsub%3Dsuchen'
)

-- 
Jean Jordaan
http://www.upfrontsystems.co.za




More information about the ZPT mailing list