fixed spans on newlines
Merge pull request #17 from danielribeiro/fixing-spans-on-newlines

fixed spans on newlines fixes issue #16