Remove Code Block head and tail