Underline has a mind of its own

I’m using the “text body indent” style for representing three-line passages. The second to last line gets underlined. The problem is this: sometimes the underline extends beyond the end of the text (for no reason I can discover) and I can’t delete the extended portion. Also, sometimes it changes the style to require underlining (without my modifying the style at all).