Adds missing ticks to indicate the end of the code block