protected function inSeparator() { if ($this->isInPoem()) { $this->closeStanzaIfAny(); $this->openStanza(); } else { if ($this->isInEpigraph() || $this->isInDedication()) { // separators as formatted as subtitles, but FB2 does not allow // a subtitle in an epigraph, so give it a plain paragraph instead parent::doParagraphStart(); $this->inParagraph(); parent::doParagraphEnd(); } else { parent::inSeparator(); } } }