aboutsummaryrefslogtreecommitdiff
path: root/src/components/rich_content
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-12 19:37:04 +0300
committerHenry Jameson <me@hjkos.com>2021-08-12 19:37:04 +0300
commitadd5921b8b3579b153bef6ee2b1916227016d200 (patch)
treec5fc2ce90fa2cc43ca036c50dec464c5d9142264 /src/components/rich_content
parent2182af405864cffcc7ddca8d373cc14f38770c9e (diff)
fix tests, add performance test (skipped, doesn't assert anything),
tweak max mentions count
Diffstat (limited to 'src/components/rich_content')
-rw-r--r--src/components/rich_content/rich_content.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx
index 4b7d4d37..32b737ec 100644
--- a/src/components/rich_content/rich_content.jsx
+++ b/src/components/rich_content/rich_content.jsx
@@ -159,7 +159,7 @@ export default Vue.component('RichContent', {
return item // We'll handle it later
}
case 'span':
- if (attrs['class'].includes('h-card')) {
+ if (this.handleLinks && attrs['class'] && attrs['class'].includes('h-card')) {
return ['', children.map(processItem), '']
}
}