I get upside-down question marks in a long formula

Entering a long formula in Writer and putting a newline command in the middle gives the formula over two lines but with two brown inverted question marks, one near the end, the other at the end. I can’t get rid of them.

See here.