Fixed two edge cases: single paragraph and whitespace-leading pages
Merge pull request #4 from srcreigh/edge

Fixed two edge cases: single paragraph and whitespace-leading pages