# Workaround for entities being preserved in output.
# But there should be a better way.
text = text.replace('<', '<').replace('&', '&')
# Workaround for entities being preserved in output.
# But there should be a better way.
text = text.replace('<', '<').replace('&', '&')