@staticmethod
def _convert_entity_refs(text):
    """Converts entity refs to chars to handle etree auto conversions."""
    text = text.replace('&lt;', '<')
    text = text.replace('&gt;', '>')
    return text
