Fix escape chars in code element

// cc @tadatuta