Fix formatting of code blocks in list items