[CB] -- added sanitisation of strings being fed into templates