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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trailing spaces on entry titles #3020

Closed
heymarkreeves opened this issue Jun 22, 2018 · 1 comment
Closed

Trailing spaces on entry titles #3020

heymarkreeves opened this issue Jun 22, 2018 · 1 comment

Comments

@heymarkreeves
Copy link

Description

If an entry title includes a trailing space, it's captured and saved that way.

If this entry's title—as a related entry—is pulled in to a title field, it can have unwanted effects, like putting a space before a comma.

Trailing spaces should be trimmed from titles.

Steps to reproduce

  1. Create a new entry with a space at the end of the title.
  2. Save it.

Additional info

  • Craft version: Observed in current version of Craft 2; could be a Craft 3 issue, too.
  • PHP version: NA
  • Database driver & version: NA
  • Plugins & versions: NA
@brandonkelly
Copy link
Member

Fixed for the next release, thanks!

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

No branches or pull requests

2 participants