Fix for code blocks in lists