Stop whitespace trimming in attributes

Changes:
* Now whitespace within a quoted attribute definition is respected.

Testing:
* Made test for new behavior, fixed broken ones