HTML-encoding lost when attribute read from input field HTML-encoding lost when attribute read from input field javascript javascript