Fix bug with indentation interpretation during export