laravel/framework — pull request #2857 by BlueHayes (2013-12-04 15:16:30+00:00)
Title: Remove whitespace at the end of truncated portion in Str::limit()

The truncated portion of Str::limit often has whitespace at the end, so you end up with something like this:

Welcome to my ...

The above can look a bit ugly and should instead probably read:

Welcome to my...

I've added rtrim() to the truncated string to apply this behaviour.