From a81dbafa1031aa79ed86dfa722ca97c0e9679f5e Mon Sep 17 00:00:00 2001 From: yggverse Date: Mon, 8 Jul 2024 04:43:51 +0300 Subject: [PATCH] update title format --- src/Entity/Browser/Container/Tab/Page/Content.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Entity/Browser/Container/Tab/Page/Content.php b/src/Entity/Browser/Container/Tab/Page/Content.php index 76f4e108..508ea5c9 100644 --- a/src/Entity/Browser/Container/Tab/Page/Content.php +++ b/src/Entity/Browser/Container/Tab/Page/Content.php @@ -233,7 +233,11 @@ class Content ); $this->page->title->setValue( - $title ? $title : $address->getHost(), // detect title by document h1 + $title ? sprintf( + '%s - %s', + $title, + $address->getHost() + ) : $address->getHost(), // detect title by document h1 $response->getMeta() );