Edit book: Fix auto-complete of closing tag not working when typing the closing tag at just before a word (the word would become the closing tag name).