Added a test for strings ending in links
Fixed parsing strings ending in links.
Merge pull request #4 from marcopompei/master

Fixed parsing string ending in links