/**
  * @return string
  */
 function toHtml(SiteDocContentBlockRenderer $renderer)
 {
     $yield = StringUtils::EMPTY_STRING;
     if ($this->title) {
         $yield .= $renderer->getTitle($this->title);
     }
     if ($this->block) {
         $yield .= '<div class="i">';
     }
     foreach ($this->items as $item) {
         $yield .= $item->toHtml($item instanceof self ? $renderer->spawnNested() : $renderer);
     }
     if ($this->block) {
         $yield .= '</div>';
     }
     return $yield;
 }
 /**
  * @return string
  */
 function toHtml(SiteDocContentBlockRenderer $renderer)
 {
     return $renderer->renderParagraph($this->node);
 }