Added commented code that should disable entity conversion.
string manipulation and sanitizing.