Add cleanup before text to HTML conversion
Remove Cloudinary specific code to the framework