소스 검색

核心观点解析样式优化

xingzai 2 년 전
부모
커밋
f596f54789
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      services/article.go

+ 1 - 0
services/article.go

@@ -1809,6 +1809,7 @@ func ArticleAnnotation(item *models.HomeArticle) (annotation string) {
 	}
 	if item.Annotation != "" {
 		annotation = strings.Replace(item.Annotation, "<br>", "", -1)
+		annotation = strings.Replace(item.Annotation, "&nbsp;", "", -1)
 	} else {
 		return
 	}