Changeset 1190
- Timestamp:
- 07/09/06 20:00:23
- Files:
-
- trunk/cherrypy/_cptools.py (modified) (2 diffs)
- trunk/cherrypy/lib/tidy.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/cherrypy/_cptools.py
r1177 r1190 145 145 # Builtin tools # 146 146 147 from cherrypy.lib import cptools, encoding, static 147 from cherrypy.lib import cptools, encoding, static, tidy 148 148 from cherrypy.lib import sessions as _sessions, xmlrpc as _xmlrpc 149 149 from cherrypy.lib import caching as _caching, wsgiapp as _wsgiapp … … 309 309 default_toolbox.wsgiapp = WSGIAppTool(_wsgiapp.run) 310 310 default_toolbox.caching = CachingTool() 311 312 313 del cptools, encoding, static 311 default_toolbox.tidy = Tool('before_finalize', tidy.tidy) 312 default_toolbox.nsgmls = Tool('before_finalize', tidy.nsgmls) 313 314 315 del cptools, encoding, static, tidy trunk/cherrypy/lib/tidy.py
r1070 r1190 57 57 original_body) 58 58 elif strict_xml: 59 # The HTML is OK, but is it valid XML 59 # The HTML is OK, but is it valid XML? 60 60 # Use elementtree to parse XML 61 61 from elementtree.ElementTree import parse

