I am able to produce this issue in geany 1.29 (installed from Debian Stretch repository). Autoclosing of quotes (single and double) doesn't work either. What's odd is that I have the same Debian running in a virtual machine and geany is the same version and the issues are not there.