prujohn/dart-xml — pull request #31 by ajlai (2013-07-10 02:57:43+00:00)
Title: Stop whitespace trimming in attributes

This pull request fixes a bug where leading/trailing whitespace inside an attribute value is trimmed.

It also lays the groundwork for fixing bugs like #20 as now we can know to tokenize everything up to `<` if `isInTag == false`.

Before:
```dart
XmlElement foo = XML.parse('''''');
print(foo.toString()); //
```

After:
```dart
XmlElement foo = XML.parse('''''');
print(foo.toString()); //
```

I've also created tests for this behavior and fixed the ones that broke from the change.

Thanks for reading! :smile: