Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[10.x] Str apa Add whitespace after punctuations #51504

Closed

Conversation

faissaloux
Copy link
Contributor

Helloo 馃憢

This PR Adds whitespace after each punctuation except the last one when using Str apa style.

See: https://apastyle.apa.org/style-grammar-guidelines/punctuation/space-after-period

Code

Str::apa('Real change,enduring change!happens one step at a time.  ');

Expected

Real Change, Enduring Change! Happens One Step at a Time.

Actual

Real Change,enduring Change!happens One Step at a Time.

@taylorotwell
Copy link
Member

Not really that simple:

Str::apa('Learning Inertia.js');

@faissaloux faissaloux deleted the str-apa-add-space-after-punctuations branch May 20, 2024 13:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants