fixes small bug in allowing spaces in tag attrs