Improve parser to detect LineBreak independently of renderer.

When checking if it's a newline preceeded by two spaces, look at the input data rather than the output, since the output depends on the renderer implementation.
Merge pull request #107 from shurcooL/master

Improve parser to detect LineBreak independently of renderer.