Removed leading and trailing spaces in each line for the error tree nodes.