You need to add slashes to escape the value, or set the attributes independently.