[Zope-Checkins] CVS: Zope2 - load_site.py:1.6.112.1
Brian Lloyd
brian@digicool.com
Wed, 21 Mar 2001 10:48:28 -0500 (EST)
Update of /cvs-repository/Zope2/utilities
In directory korak:/home/brian/temp/zope-23-branch/utilities
Modified Files:
Tag: zope-2_3-branch
load_site.py
Log Message:
Fixed bug 2072: add charref handling
--- Updated File load_site.py in package Zope2 --
--- load_site.py 2000/02/02 17:29:23 1.6
+++ load_site.py 2001/03/21 15:48:27 1.6.112.1
@@ -240,6 +240,12 @@
if data:
self.accumulator = self.accumulator + data
+ def handle_charref(self, ref):
+ self.handle_data("&#%s;" % ref)
+
+ def handle_entityref(self, ref):
+ self.handle_data("&%s;" % ref)
+
def handle_comment(self, data):
if data:
self.accumulator = self.accumulator + "<!--%s-->" % data