this is not correct. your change introduces an option to toggle encoding for the error message, not for the HTML attributes. Revert this description change and add the option to the list below.