ninjabot: sanitise all escape sequences