|
@@ -74,7 +74,7 @@ class ContentModel extends BaseModel {
|
|
|
highlightKeys = formatted.content.highlightKeys
|
|
|
}
|
|
|
highlightKeys.forEach((key) => {
|
|
|
- title = replaceKeywordWithRichText(title, key, '<span class="keyword highlight-text">$1</span>')
|
|
|
+ title = replaceKeywordWithRichText(title, key, '<span class="keyword highlight-text-orange-bd">$1</span>')
|
|
|
})
|
|
|
return title
|
|
|
}
|
|
@@ -131,7 +131,7 @@ class ContentModel extends BaseModel {
|
|
|
highlightKeys = formatted.content.highlightKeys
|
|
|
}
|
|
|
highlightKeys.forEach((key) => {
|
|
|
- content = replaceKeywordWithRichText(content, key, '<span class="keyword highlight-text">$1</span>')
|
|
|
+ content = replaceKeywordWithRichText(content, key, '<span class="keyword highlight-text-orange-bd">$1</span>')
|
|
|
})
|
|
|
|
|
|
// 将多个连续的br替换成一个
|