Trimming values as currently causing new line characters to be displayed.