support special chars in inline attributes