|
|
@ -114,11 +114,11 @@ const searchRes = (props) => { |
|
|
|
} |
|
|
|
> |
|
|
|
<List.Item.Meta |
|
|
|
title={<a href={item.link}>{getHighlightedText(item.title, keyword)}</a>} |
|
|
|
title={<a href={item.link}> <div dangerouslySetInnerHTML={ { __html: item.title}} /></a>} |
|
|
|
description={item.ext?.desc ? item.ext.desc : undefined} |
|
|
|
// description={item.content}
|
|
|
|
/> |
|
|
|
{getHighlightedText(item.content, keyword)} |
|
|
|
<div dangerouslySetInnerHTML={ { __html: item.content}} /> |
|
|
|
</List.Item> |
|
|
|
)} |
|
|
|
/> : <Empty className='search-empty' /> |
|
|
|