Trim text for title and info lists

Refs #10441