[Zope] [python script] problem  with AUTHENTICATED_USER
    Jürgen Herrmann 
    Juergen.Herrmann at XLhost.de
       
    Wed Apr 20 10:27:52 EDT 2005
    
    
  
[ BonviciniJ at keops.net wrote:]
> I have another problem (not in relation with  AUTHENTICATED_USER):
> I would like to know if a special function exists to transform special
> char in html (like HTMLentities in PHP or escape in javascript)
> _______________________________________________
> Zope maillist  -  Zope at 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 )
>
use this:
from Products.PythonScripts.standard import html_quote
html_quote('< & >')
...
regards, Juergen Herrmann
_______________________________________________________________________
>> XLhost.de - eXperts in Linux hosting <<
Juergen Herrmann
Weiherweg 10, 93051 Regensburg, Germany
Fon:  +49 (0)700 XLHOSTDE [0700 95467833]
Fax:  +49 (0)721 151 463027
ICQ:  27139974  -  IRC: #XLhost at quakenet
WEB:  http://www.XLhost.de
    
    
More information about the Zope
mailing list