Fixes #7
Added test case for #7 fix
Merge pull request #1 from vesselinv/master

HTML attributes with comma in value throws the whole tag off