Browse Source

消除it前面的空格

visuddhinanda 3 years ago
parent
commit
53f1847c54
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dashboard/src/components/fts/FullTextSearchResult.tsx

+ 1 - 1
dashboard/src/components/fts/FullTextSearchResult.tsx

@@ -85,7 +85,7 @@ const Widget = ({
             paragraph: item.paragraph,
             paragraph: item.paragraph,
             title: item.title ? item.title : item.paliTitle,
             title: item.title ? item.title : item.paliTitle,
             paliTitle: item.paliTitle,
             paliTitle: item.paliTitle,
-            content: item.highlight,
+            content: item.highlight.replaceAll("** ti ", "**ti "),
             path: item.path,
             path: item.path,
           };
           };
         });
         });