Simple Python function that transform text to clean HTML