|
|
@@ -252,7 +252,7 @@ func dealLongText(text string, Key string, MatchedQueries []string) string { |
|
|
|
|
|
|
|
|
textRune := []rune(text) |
|
|
textRune := []rune(text) |
|
|
textRuneStr := string(textRune) |
|
|
textRuneStr := string(textRune) |
|
|
stringlen := len(textRuneStr) |
|
|
|
|
|
|
|
|
stringlen := len(textRune) |
|
|
if isNeedToDealText && stringlen > 200 { |
|
|
if isNeedToDealText && stringlen > 200 { |
|
|
index := strings.Index(textRuneStr, "color=") |
|
|
index := strings.Index(textRuneStr, "color=") |
|
|
if index > 0 { |
|
|
if index > 0 { |
|
|
|