Don't remove space before "?" in title

Hi,

Discourse seems to remove automaticaly space before “?” in post titles. But in French, the space is needed.
How not to have this auto-correct? Or better, follow the French rules if the forum is in French.

Thanks

1 Like

To keep the space before question marks, you need to disable the title remove extraneous space site setting.

7 Likes

Great!
Is it possible to i18n this function?

ex:

"test<space><space><space>?" => "test?" (in "en")
"test<space><space><space>?" => "test<space>?" (in "fr")
1 Like

I think the only way to accomplish that would be to create a plugin for it. In the Discourse code, the title remove extraneous space and title prettify settings are applied to all locales.

4 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.