diff --git a/js/privatebin.js b/js/privatebin.js
index 31fa44f9..850dfc93 100644
--- a/js/privatebin.js
+++ b/js/privatebin.js
@@ -1121,7 +1121,7 @@ jQuery.PrivateBin = function($, sjcl, Base64, RawDeflate) {
deleteUrl = helper.scriptLocation() + '?pasteid=' + data.id + '&deletetoken=' + data.deletetoken;
controller.showStatus('');
controller.errorMessage.addClass('hidden');
- history.pushState({type: 'newpaste'}, '', url);
+ history.pushState({type: 'newpaste'}, document.title, url);
$('#pastelink').html(
i18n._(
diff --git a/tpl/bootstrap.php b/tpl/bootstrap.php
index 668b2e91..b4572219 100644
--- a/tpl/bootstrap.php
+++ b/tpl/bootstrap.php
@@ -69,7 +69,7 @@ if ($MARKDOWN):
-
+
diff --git a/tpl/page.php b/tpl/page.php
index 362e8878..491be5da 100644
--- a/tpl/page.php
+++ b/tpl/page.php
@@ -47,7 +47,7 @@ if ($MARKDOWN):
-
+