Fix the parsing of code blocks