Trim whitespace from <td> values since they could contain indented html elements