enable/disable leading/trailing spaces in brackets