The IPA primary stress mark (unicode U+02C8) is interpreted as a line break in Writer. This character should never be treated as a line break as it is used normally to indicate the primary stress within a phonetically spelled word.
Please attach a sample file, reduce the size as much as possible without private information, and paste the information in Menu/Help/About LibreOffice, there is a copy icon.