def handle_entityref(self, name):
        try:
            text = unichr(entities.name2codepoint[name])
        except __HOLE__:
            text = '&%s;' % name
        self._enqueue(TEXT, text)
dataset/ETHPy150Open timonwong/OmniMarkupPreviewer/OmniMarkupLib/Renderers/libs/python2/genshi/input.py/HTMLParser.handle_entityref