File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
webapp/src/main/webapp/vue-apps/search-activity/components Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -165,7 +165,7 @@ export default {
165
165
return this .excerpts && this .excerpts .join (' \r\n ...' ) || this .body || ' ' ;
166
166
},
167
167
excerptText () {
168
- return $ ( ' <div /> ' ). html (this .excerptHtml ). text ( );
168
+ return this . $utils . htmlToText (this .excerptHtml );
169
169
},
170
170
activityType () {
171
171
if (! this .result ) {
@@ -190,7 +190,7 @@ export default {
190
190
return this .excerptHtml || this .$t (' search.activity.no.title.label' );
191
191
},
192
192
activityTitleText () {
193
- return $ ( ' <div /> ' ). html (this .activityTitle ). text ( );
193
+ return this . $utils . htmlToText (this .activityTitle );
194
194
},
195
195
isMobile () {
196
196
return this .$vuetify ? .breakpoint ? .smAndDown ;
You can’t perform that action at this time.
0 commit comments