fixed bug when an attribute contains parenthesis
like onclick='something()'