aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
authorMike Skec <skec@protonmail.ch>2020-12-27 19:00:30 +1100
committerFelix Queißner <felix@ib-queissner.de>2020-12-27 11:01:48 +0100
commit346618c52e9c9e6d6fe9e91f0ef1a84c05210dc8 (patch)
tree0f23de9258d7cc0025741d60642aa7c766cd4f42 /src/browsertab.cpp
parentb6ac752e32e6871fbe3226334aabc8e9af7c294b (diff)
downloadkristall-346618c52e9c9e6d6fe9e91f0ef1a84c05210dc8.tar.gz
Window title now contains page title
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index c470d9e..aa082d4 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -532,6 +532,8 @@ void BrowserTab::renderPage(const QByteArray &data, const MimeType &mime)
{
QString title = b[0];
this->page_title = title;
+
+ // TODO: Escape HTML sequences in title (such as &mdash;)
}
}
}