Added support for variable line endings (fixes parsing of documents with Windows line endings).
Added support for variable line endings (fixes parsing of documents with Windows line endings).

dhensby/silverstripe-docsviewer,silverstripe/silverstripe-docsviewer,silverstripe/silverstripe-docsviewer,dhensby/silverstripe-docsviewer