Trim whitespace from tag names
diff --git a/lib/scanner.dart b/lib/scanner.dart
index 1ecd995..9243112 100644
--- a/lib/scanner.dart
+++ b/lib/scanner.dart
@@ -49,6 +49,9 @@
 	_addStringToken(int type) {

 		int l = _r.line, c = _r.column;

 		var value = _readString();

+		if (type != _TEXT && type != _COMMENT) {

+			value = value.trim();

+		}

 		_tokens.add(new _Token(type, value, l, c));

 	}