Fixes #2429. Image alt was not trimmed
Merge branch '2.2/develop' of github.com:pyrocms/pyrocms into 2.2/develop