Trims text before applying gutruncate