diff --git a/src/Element/BookContent/Page.php b/src/Element/BookContent/Page.php index a1ab0b8..ddb739e 100644 --- a/src/Element/BookContent/Page.php +++ b/src/Element/BookContent/Page.php @@ -72,7 +72,16 @@ class Page { } public function getSummaryHtml (): string { - $str = "
  • getId()==$this->id?"":(PageMeta::$book->getId()." href='/".$this->id."'")) . ">$this->name"; + $str = + "
  • getId()==$this->id ? + "" : + "href='/".PageMeta::$book->getId()."/".$this->id."' " + ) . + ">$this->name"; if (sizeof($this->segues) > 0) { $str .= "