Properly indent HTML snippet