Applying highlight to a blank space.

I’m using LO5.4, and in Writer I used to be able to apply highlight to a blank space (at the end of a line of text). Now I can’t. How can I do that?

You didn’t tell if you achieve(d) that with direct formatting (selecting text and pushing on the color brush icon in the toolbar) or with a character style.