From 4d73eaa6cef7a8b81bcca719755b11c05717d395 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 23 Aug 2021 21:36:18 +0300 Subject: [PATCH] fix spacing before hashtags --- src/components/rich_content/rich_content.jsx | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/components/rich_content/rich_content.jsx b/src/components/rich_content/rich_content.jsx index f52b0370..c0d20c5e 100644 --- a/src/components/rich_content/rich_content.jsx +++ b/src/components/rich_content/rich_content.jsx @@ -181,9 +181,12 @@ export default Vue.component('RichContent', { if (children !== undefined) { return [ - opener, - [mentionsLinePadding].concat(children.map(processItem)), - closer + '', + [ + mentionsLinePadding, + [opener, children.map(processItem), closer] + ], + '' ] } else { return ['', [mentionsLinePadding, item], '']