Writer adds space before question mark

Hello,

When writing a sentence that ends with a question mark, writer automatically ads a space before the question mark. How can I prevent this behaviour??

Thanks in advance!
pwp

Which version?

Which OS?

Which language?