fixing bug where example titles are repeated within child code block