attributes like a href with query string in it (like href='https://docs.google.com/spreadsheets/d/someId/export?gid=0&format=csv' are not correctly parsed. Parsing stops when the '=' sign is reached.
in the above case https://docs.google.com/spreadsheets/d/someId/export?gid is returned as the attribute value