Indeed. I recognized this earlier too. But we have to be careful, as it will might end in unexpected behaviour -- the user might not expect at all, that the closing tag will be touched.
--- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/664#issuecomment-143032113