Fix hidden code example issues