Fixed issue #8:  #capitalise still sometimes gets output rather than replaced.