aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorHenry Jameson <me@hjkos.com>2021-08-23 21:36:18 +0300
committerHenry Jameson <me@hjkos.com>2021-08-23 21:36:18 +0300
commit4d73eaa6cef7a8b81bcca719755b11c05717d395 (patch)
treed4b063366b95dfe41e3fe0fd214b60e26209a7bb /src
parent39494439d359fa058079c9325efdff244a7e7890 (diff)
fix spacing before hashtags
Diffstat (limited to 'src')
-rw-r--r--src/components/rich_content/rich_content.jsx9
1 files 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], '']