saltybeagle/Spider — pull request #2 by mfairchild365 (2013-02-04 20:47:51+00:00)
Title: Support html5 documents

Fix two errors parsing html5 documents
* HTML5 does not have a DTD, so named entities can not be used when loading with domdocument.
* Ensure xhtml structure so that the document can be loaded with domdocument->loadXML. (this adds closing for void elements such as ).