[Zope] Quoting Text to valid HTML
    Dieter Maurer 
    dieter at handshake.de
       
    Mon Mar  8 13:58:38 EST 2004
    
    
  
Samir Mishra wrote at 2004-3-8 10:31 +0400:
>This ought to be simple, but can't find module/function to do this. I'm
>writing an external method that reads text for inclusion into HTML. Some of
>the strings have "&" (= &) and other non-HTML conformant characters. I
>know Zope takes care of this translation automatically, but is there
>something outside Zope I could use?
You can use "html_quote" from "Products.PythonScripts.standard".
-- 
Dieter
    
    
More information about the Zope
mailing list