Finding the end of a paragraph should be done aware of code spans

This pull-request fixes issue #1