trim textarea string so trailing returns don't look like they create additional ids