|
@@ -1866,6 +1866,10 @@ func ArticleAnnotation(item *models.HomeArticle) (annotation string) {
|
|
|
func YxArticleAnnotation(article *models.HomeArticle) (annotation string) {
|
|
|
|
|
|
if strings.Count(article.Body, "<hr") == 0 {
|
|
|
+
|
|
|
+ if article.BodyHtml != "" {
|
|
|
+ return
|
|
|
+ }
|
|
|
annotation, _ = GetReportContentTextSub(article.Body)
|
|
|
return
|
|
|
}
|