diff --git a/theme/onemoe.html b/theme/onemoe.html
index 76a3308..78a6001 100644
--- a/theme/onemoe.html
+++ b/theme/onemoe.html
@@ -479,7 +479,10 @@
var $url = document.getElementById('url');
if ($url) {
- $url.innerHTML = location.protocol + '//' + location.host + $url.innerHTML;
+ //$url.innerHTML = location.protocol + '//' + location.host + $url.innerHTML;
+ let url = location.href;
+ url = url.substr(0, url.length-8);
+ $url.innerHTML = url.replace(/&/g, '&');
$url.style.height = $url.scrollHeight + 'px';
}