Fix double code block rendering