add indentation to printHTML