Skip to content

Commit

Permalink
fix: the list page introduction adopts the way of rendering rich text…
Browse files Browse the repository at this point in the history
… to support the display of some special symbols
  • Loading branch information
shuashuai committed Feb 13, 2025
1 parent 3811b43 commit 1dfa03b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions ui/src/components/QuestionList/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -168,9 +168,10 @@ const QuestionList: FC<Props> = ({
</NavLink>
</h5>
{viewType === 'card' && (
<p className="mb-2 small text-body text-truncate-2">
{li.description}
</p>
<p
className="mb-2 small text-body text-truncate-2"
dangerouslySetInnerHTML={{ __html: li.description }}
/>
)}

<div className="question-tags mb-12">
Expand Down

0 comments on commit 1dfa03b

Please sign in to comment.