Added sanitizer for html and moved replace to utils