Underline formatting disappears

Hi forum,

I’m working in script mode and periodically lose all the underline formatting in my script. I suspect it’s happening when I’ve tweaked the margins in the Script Settings, but am not sure.

I uses underlines for emphasis, like italics. It’s annoying to have to manually replace them. Is this a known bug? Feature? Side-effect? Is there a way to make sure they persist?

Thanks in advance for any help!