Prepend "#" to hashtags in UI.

Still store hashtags without the redundant "#".

Change-Id: I1706cc23fbe2cdd0a48c105e8d8fa1de63b3d3cb
This commit is contained in:
Gustaf Lundh
2014-09-20 17:25:09 +02:00
parent f9e62b14a5
commit 2d39c1e065

View File

@@ -164,7 +164,7 @@ public class Hashtags extends Composite {
.openAnchor()
.setAttribute("href", "#" + PageLinks.toChangeQuery("hashtag:" + hashtagName))
.setAttribute("role", "listitem")
.append(hashtagName)
.append("#").append(hashtagName)
.closeAnchor()
.openElement("button")
.setAttribute("title", "Remove hashtag")