Fix only cleaning selection whitespace on save