diff --git a/webinterface.py b/webinterface.py
index 4e6118be..c762e6ca 100644
--- a/webinterface.py
+++ b/webinterface.py
@@ -747,7 +747,13 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int,
# add the page title
hashtagSearchForm = htmlHeader(cssFilename, hashtagSearchCSS)
- hashtagSearchForm += '
#' + hashtag + '
'
+ if nickname:
+ hashtagSearchForm += '\n' + \
+ '\n' + '\n'
+ else:
+ hashtagSearchForm += '\n' + \
+ '#' + hashtag + '
\n' + '\n'
if startIndex > 0:
# previous page link
@@ -758,7 +764,7 @@ def htmlHashtagSearch(nickname: str, domain: str, port: int,
iconsDir + '/pageup.png" title="' + \
translate['Page up'] + \
'" alt="' + translate['Page up'] + \
- '">'
+ '">\n'
index = startIndex
while index <= endIndex:
postId = lines[index].strip('\n').strip('\r')