Skip to content

FIX: ensures autogrid works with French spacing #33823

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 24, 2025
Merged

FIX: ensures autogrid works with French spacing #33823

merged 1 commit into from
Jul 24, 2025

Conversation

jjaffeux
Copy link
Contributor

French spacing refers to the extra space that comes before many punctuation marks in French.

It's also common in other languages: Italian, Spanish, Catalan, ...

Our regexes were only considering the case without space and as a result auto grid would not work in French.

This regex based parsing is brittle as proven here, but this commit only focuses on fixing the bug and ensuring this case is tested for future improvements.

French spacing refers to the extra space that comes before many punctuation marks in French.

It's also common in other languages: Italian, Spanish, Catalan, ...

Our regexes were only considering the case without space and as a result auto grid would not work in French.

This regex based parsing is brittle as proven here, but this commit only focuses on fixing the bug and ensuring this case is tested for future improvements.
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/automatic-images-grid-not-working-when-locale-is-not-set-to-english/375499/14

@jjaffeux jjaffeux merged commit 2643896 into main Jul 24, 2025
17 checks passed
@jjaffeux jjaffeux deleted the auto-grid-fr branch July 24, 2025 13:38
@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/daily-summary-9pm-utc/291850/578

@discoursebot
Copy link

This pull request has been mentioned on Discourse Meta. There might be relevant details there:

https://meta.discourse.org/t/daily-summary-5am-utc/291851/550

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants