Merge branch 'master' of git.dnix.de:an/flokati

This commit is contained in:
an 2019-08-27 21:58:09 +02:00
commit 140f9ed5bc
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ func markovParseText(text string) string {
text = strings.Replace(text, "&lt;", "<", -1)
text = strings.Replace(text, "&gt;", ">", -1)
text = strings.Replace(text, "&amp;", "&", -1)
text = strings.Replace(text, ",", " ", -1)
//text = strings.Replace(text, ",", " ", -1)
//reg := regexp.MustCompile("[^a-zA-Z0-9 ]+")
//delText := reg.ReplaceAllString(text, "")
return strings.ToLower(text)