Strip end of paragraph text before parsing inlines.