Closed eumel1602 closed 8 months ago
IMHO, titles that start with a space should also bring an error.
We should follow Joomla approach, with the same notice:
Also, Joomla allows to put any spaces at the beginning of the title without any error:
It allows to save them... but they are just not displayed on articles list or in frontend.
Why not trim and check the title data before save? If the title empty after trim, return with an error or include a #NONTITLEGIVEN# string.
Close this, since it is fixed with PR#176.
In PR #86 I noticed that: If I use an image or a category or a tag with only one or more spaces as a title, it saves it, but I can never edit the image again. Saving a e.g. Image with only one space should show an error from my point of view! / when I save a second image with one or more spaces, the system automatically adds a "(2)" and so it's clickable...