only truncate lines up to the end of the current paragraph, so that the paragraph below does not get rendered in the truncated line