Shazwazza / ClientDependency

DEPRECATED. A library for managing CSS & JavaScript dependencies and optimization in ASP.Net
139 stars 65 forks source link

Fix bug with multiple values in HtmlAttributes #108

Closed bdukes closed 7 years ago

bdukes commented 8 years ago

When parsing the HtmlAttributesAsString property, the keys and values accumulate, so that when there are multiple key/value pairs, the keys and values are duplicated. For example, HtmlAttributesAsString="defer=true,async=true" yields the following:

defer=true
deferasync=truetrue
Shazwazza commented 7 years ago

Thanks! Have added a unit test for this now too, not sure how this hasn't been spotted before :)