diff --git a/core/core.php b/core/core.php index ca0b1c08..af891d42 100644 --- a/core/core.php +++ b/core/core.php @@ -1332,8 +1332,11 @@ class core extends common { $title = $this->getData(['page', $this->getUrl(0), 'title']); if (!empty($this->getData(['page', $this->getUrl(0), 'parentPageId'])) && $this->getData(['page', $this->getUrl(0), 'breadCrumb'])) { - $title =ucfirst($this->getData(['page', $this->getUrl(0), 'parentPageId'])) . - ' › '. + $title = '' . + ucfirst($this->getData(['page', $this->getUrl(0), 'parentPageId'])) . + ' › '. $this->getData(['page', $this->getUrl(0), 'title']); } // Importe la page @@ -1547,7 +1550,7 @@ class core extends common { if($this->output['metaTitle'] === '') { if($this->output['title']) { $this->addOutput([ - 'metaTitle' => $this->output['title'] . ' - ' . $this->getData(['config', 'title']) + 'metaTitle' => strip_tags($this->output['title']) . ' - ' . $this->getData(['config', 'title']) ]); } else {