diff --git a/search/Text 2 Hash.go b/search/Text 2 Hash.go index 4a51cb9..2517fb5 100644 --- a/search/Text 2 Hash.go +++ b/search/Text 2 Hash.go @@ -25,6 +25,9 @@ func text2Hashes(text string, hashes map[[32]byte]string) { }) for _, word := range words { + // remove hash tag prefix + word = strings.TrimPrefix(word, "#") + hashWordMap(word, hashes) } }