Explorar o código

Merge branch 'dev/v1.0.2.2_rjj' of SocialPlatform/messageCenter into feature/v1.0.2

duxin %!s(int64=2) %!d(string=hai) anos
pai
achega
4f3a87c201
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      api/messagecenter/internal/logic/messageaddlogic.go

+ 1 - 0
api/messagecenter/internal/logic/messageaddlogic.go

@@ -34,6 +34,7 @@ var (
 func init() {
 	htmlFilter.AllowStandardURLs()
 	htmlFilter.AllowAttrs("href").OnElements("a")
+	htmlFilter.AllowAttrs("class").OnElements("li")
 	htmlFilter.AllowAttrs("src").OnElements("img")
 }