Fix bug of gen-toc.el when outline contains dash(es).