def handle_entityref(self, name):
        """process a general entity reference of the form "&name;"."""
        #~ print "20121010 handle_entityref", repr(name)
        if name in ('lt', 'gt', 'amp', 'quot'):
            # 20120311
            #~ self.handle_data('<![CDATA['+unichr(name2codepoint[name])+']]>')
            #~ 20121010 self.handle_data(unichr(name2codepoint[name]))
            self.handle_data(name % "&%s;")
            return
        self.handle_data(chr(name2codepoint[name]))
dataset/ETHPy150Open lsaffre/lino/lino/utils/mytidylib.py/MyHTMLParser.handle_entityref/swapped operands of `%`