摘要:
char* buffer = (char*) malloc(tag_name_len + tag_attributes_len + other_attributes_len + 10);assert(buffer);strcpy(buffer, "<"); strcat(buffer, tag_name);if(tag_attributes_len > 0 && bWriteUserAttributes){ strcat(buffer, " "); strcat(buffer, tag_attributes);}if(othe 阅读全文