fixes issue #24 (but nested indentation format isn't correct