Place the cursor in Storage update in Ulet. Choose Home → Paragraph Borders → Bottom Border. Try a longer heading in a copy and check that the line sits below the whole paragraph.

Find the paragraph that owns an existing line

If the line does not select like typed characters, put the cursor in the paragraph immediately above it and inspect its border. Use Paragraph Borders → No Border. If the line stays, check the next paragraph for a top border or look for a separate object.

A paragraph border stays below both lines of a longer heading.

Illustrated test at a narrower width.

Inspect the saved page

Reopen the DOCX and check that the intended text remains. Try the narrow version and verify the line still follows the heading if you kept it.

Removing the border leaves the heading and body text intact.

Illustrated check of the neighboring paragraph.

Microsoft’s reference on paragraph borders