Fixed templates one more time to prevent XSS in validation and help
messages.