Fix formatting of code blocks in lists.