Is it possible to conditionally insert line breaks in paragraph?