sgmllib.SGMLParser.convert_entityref

SGMLParser.convert_entityref(name)[source]

Convert entity references.

As an alternative to overriding this method; one can tailor the results by setting up the self.entitydefs mapping appropriately.