Revert "Fixed regression from mishandling empty lines of documents with CRLF DOS line endings, ultimately causing a crash. Issue #1 on GitHub."

This reverts commit 5e68bbfc05515945de934675bc08cf443925cfc5.