Issue #1563612 by hass: Fixed HTML code in thead label's is check_plain()'ed in output and destroy custom HTML in labels.