Unbreak the html table, this was missing a table cell close tag, also add trim() on the output.