Package CMFDefault :: Module utils
[show private | hide private]
[frames | no frames]

Module CMFDefault.utils

Utility functions.

$Id: utils.py 37130 2005-07-07 20:19:08Z tseaver $
Classes
SimpleHTMLParser  
StrippingParser Pass only allowed tags; raise exception for known-bad.

Variable Summary
dict NASTY_TAGS = {'embed': 1, 'object': 1, 'applet': 1, 'scr...
_ModuleSecurityInfo security = <AccessControl.SecurityInfo._ModuleSecurityIn...
dict VALID_TAGS = {'em': 1, 'pre': 1, 'code': 1, 'h2': 1, 'h3...
str _dtmldir = '/home/vinsci/backup/lab/plone/inst/plone-2.1...
SRE_Pattern _htfinder = (\s|(<[^<>]*?>))*<html.*<body.*?>.*</body>

Variable Details

NASTY_TAGS

Type:
dict
Value:
{'embed': 1, 'object': 1, 'applet': 1, 'script': 1}                    

security

Type:
_ModuleSecurityInfo
Value:
<AccessControl.SecurityInfo._ModuleSecurityInfo object at 0xb6ef40ac>  

VALID_TAGS

Type:
dict
Value:
{'a': 1,
 'b': 1,
 'base': 0,
 'big': 1,
 'blockquote': 1,
 'body': 1,
 'br': 0,
 'caption': 1,
...                                                                    

_dtmldir

Type:
str
Value:
'/home/vinsci/backup/lab/plone/inst/plone-2.1.1/Products/CMFDefault/dt\
ml'                                                                    

_htfinder

Type:
SRE_Pattern
Value:
(\s|(<[^<>]*?>))*<html.*<body.*?>.*</body>                             

Generated by Epydoc 2.1 on Wed Nov 30 04:00:16 2005 http://epydoc.sf.net