<div class="test" foo bar=baz>
<div foo='bar'>
<div class="foo
bar
baz">
<div foo:bar=42>
<div foo = 42 bar = "42">
<div foo="=\"bar=baz/>

----------------------------------------------------

[
	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", [
			"class"
		]],
		["attr-value", [
			["punctuation", "="],
			["punctuation", "\""],
			"test",
			["punctuation", "\""]
		]],
		["attr-name", [
			"foo"
		]],
		["attr-name", [
			"bar"
		]],
		["attr-value", [
			["punctuation", "="],
			"baz"
		]],
		["punctuation", ">"]
	]],

	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", [
			"foo"
		]],
		["attr-value", [
			["punctuation", "="],
			["punctuation", "'"],
			"bar",
			["punctuation", "'"]
		]],
		["punctuation", ">"]
	]],

	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", [
			"class"
		]],
		["attr-value", [
			["punctuation", "="],
			["punctuation", "\""],
			"foo\r\nbar\r\nbaz",
			["punctuation", "\""]
		]],
		["punctuation", ">"]
	]],

	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", [
			["namespace", "foo:"],
			"bar"
		]],
		["attr-value", [
			["punctuation", "="],
			"42"
		]],
		["punctuation", ">"]
	]],

	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", ["foo"]],
		["attr-value", [
			["punctuation", "="],
			" 42"
		]],
		["attr-name", ["bar"]],
		["attr-value", [
			["punctuation", "="],
			["punctuation", "\""],
			"42",
			["punctuation", "\""]
		]],
		["punctuation", ">"]
	]],

	["tag", [
		["tag", [
			["punctuation", "<"],
			"div"
		]],
		["attr-name", ["foo"]],
		["attr-value", [
			["punctuation", "="],
			["punctuation", "\""],
			"=\\",
			["punctuation", "\""]
		]],
		["attr-name", ["bar"]],
		["attr-value", [
			["punctuation", "="],
			"baz/"
		]],
		["punctuation", ">"]
	]]
]

----------------------------------------------------

Checks for single-quoted, double-quoted and unquoted attributes, attributes without value and
namespaced attributes.
