Skip to content
Snippets Groups Projects
Commit d175e869 authored by HJ's avatar HJ :fire:
Browse files

fix hashtags by explicitly putting attributes

parent c2a4051d
No related branches found
No related tags found
2 merge requests!1711Update stable - 2.5.0 release,!1513fix hashtags by explicitly putting attributes
Pipeline #39702 failed
......@@ -28,6 +28,10 @@ import './rich_content.scss'
*/
export default {
name: 'RichContent',
components: {
MentionsLine,
HashtagLink
},
props: {
// Original html content
html: {
......@@ -86,7 +90,8 @@ export default {
if (!encounteredTextReverse) {
lastTags.push(linkData)
}
return <HashtagLink { ...linkData }/>
const { url, tag, content } = linkData
return <HashtagLink url={url} tag={tag} content={content}/>
}
const renderMention = (attrs, children) => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment