A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
fix: tags list description used parsed text
shuai6de0482bbb0e
diff --git a/ui/src/index.scss b/ui/src/index.scssindex 40d2e5e6..dba18feb 100644--- a/ui/src/index.scss+++ b/ui/src/index.scss@@ -294,6 +294,12 @@ img:not(a img, img.broken) {white-space: pre-wrap;}+.reset-p {+ p {+ margin-bottom: 0;+ }+}+@keyframes bg-fade-out {0%,25% {diff --git a/ui/src/pages/Tags/index.tsx b/ui/src/pages/Tags/index.tsxindex c25e167d..2884be33 100644--- a/ui/src/pages/Tags/index.tsx+++ b/ui/src/pages/Tags/index.tsx@@ -13,7 +13,7 @@ import { useTranslation } from 'react-i18next';import { usePageTags } from '@/hooks';import { Tag, Pagination, QueryGroup, TagsLoader } from '@/components';-import { formatCount } from '@/utils';+import { formatCount, htmlToReact } from '@/utils';import { tryNormalLogged } from '@/utils/guard';import { useQueryTags, following } from '@/services';import { loggedUserInfoStore } from '@/stores';@@ -111,8 +111,8 @@ const Tags = () => {<Card.Body className="d-flex flex-column align-items-start"><Tag className="mb-3" data={tag} />- <p className="fs-14 flex-fill text-break text-wrap text-truncate-3">- {tag.original_text}+ <p className="fs-14 flex-fill text-break text-wrap text-truncate-3 reset-p">+ {htmlToReact(tag.parsed_text)}</p><div className="d-flex align-items-center"><Button