| 481 | } |
| 482 | |
| 483 | static String * htmlForAbstractMultipartMixed(AbstractMultipart * part, htmlRendererContext * context) |
| 484 | { |
| 485 | String * result = String::string(); |
| 486 | for(unsigned int i = 0 ; i < part->parts()->count() ; i ++) { |
| 487 | AbstractPart * subpart = (AbstractPart *) part->parts()->objectAtIndex(i); |
| 488 | String * substring = htmlForAbstractPart(subpart, context); |
| 489 | if (context->pass != 0) { |
| 490 | if (substring == NULL) |
| 491 | return NULL; |
| 492 | |
| 493 | result->appendString(substring); |
| 494 | } |
| 495 | } |
| 496 | return result; |
| 497 | } |
| 498 | |
| 499 | static String * htmlForAbstractMultipartRelated(AbstractMultipart * part, htmlRendererContext * context) |
| 500 | { |
no test coverage detected