Added code to expand tabs and non-breaking spaces when outputting the table.