[DocFood] Summary selection now accounts for document line endings.
This fixes an issue where the summary selection started one character too early in documents that uses cr-nl line endings.