@@ -52,6 +52,7 @@ func (n *TrieNode) ReplaceAll(text, str string) string {
sb.WriteString(fmt.Sprintf(" %s ", str))
lastPos = j + 1
i = j
+ break
}