Tweaking generation to handle colons and other characters in index titles.