Fixed formatting bug
Props to @s-m for finding this. A nasty one at that but it's fixed now. If
you use the PsiViewer look for the CRLF element. If those appear in the file
something is wrong and the formatting will break.
Closes #22.