Fix code display in docx renderer