Exemplo n.º 1
0
 protected function writeItemContent($section, $partNo, $itemNo)
 {
     $content = parent::writeItemContent($section, $partNo, $itemNo);
     //when the TEI gets here, & has become & in img@src, so this is a not-so-subtle-or-elegant fix
     if (strpos($content, "&") !== false) {
         $content = htmlspecialchars_decode($content);
         $content = str_replace("&", "&", $content);
     }
     return $content;
 }
 protected function writeItemContent($section, $partNo, $itemNo)
 {
     $content = parent::writeItemContent($section, $partNo, $itemNo);
     return $this->convertHTMLtoRTF($content);
 }