def handle_entityref(self, name):
        replacement = self.convert_entityref(name)
        if replacement is None:
            self.unknown_entityref(name)
        else:
            self.handle_data(replacement)

    # Example -- handle data, should be overridden
Handle entity references, no need to override.
dataset/ETHPy150Open azoft-dev-team/imagrium/env/Lib/sgmllib.py/SGMLParser.handle_entityref