[Zope-Checkins] CVS: Zope2 - load_site.py:1.7
Brian Lloyd
brian@digicool.com
Wed, 21 Mar 2001 10:48:54 -0500 (EST)
Update of /cvs-repository/Zope2/utilities
In directory korak:/home/brian/temp/mainline_test/utilities
Modified Files:
load_site.py
Log Message:
merged fix for 2072
--- 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:53 1.7
@@ -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