Masterminds/html5-php — pull request #28 by miso-belica (2014-02-11 13:21:56+00:00)
Title: Fixed infinite loop for char "&" in unquoted attribute

I discovered that my server was overloaded by Apache's threads becouse of infinite loops in this library. Reproducible example:

```php
';
$dom = \HTML5::loadHTML(file_get_contents('test.html'));
echo HTML5::saveHTML($dom);
```
And file `test.html`
```html

Link

```

There are more pages that is causing overload of my server so I checked some of them and noticed it is caused by character ampersand (no matter if it's valid entity or not) in unquoted attribute. It's possible that some another infinite loop in library exists, but I can't check all of the pages. If I discover another one infinite loop I create an issue at least :)