If you don’t want simpletal filtering out   then the following function needs to be added to simpleTAL.py:

 def skippedEntity (self, name):
     self.log.info ("Recieved skipped entity: %s" % name)
     self.characters( unichr(sgmlentitynames.htmlNameToUnicodeNumber.get (name, 65533)))

If you are using HTML templates with SimpleTAL it will pass through HTML comments (previous to version 2.2 this was not true.)  However, the same cannot be said of XML templates.  In version 3.8 of SimpleTAL, support was introduced for passing through HTML comments but only if you have PyXML installed! Continue reading »

© 2013 rootsmith blog Suffusion theme by Sayontan Sinha