mirror of
https://git.rape.pet/ulith/amputoma-fe.git
synced 2025-02-02 11:28:29 +01:00
fix poast mentions tripping
This commit is contained in:
parent
06042569f1
commit
6d3229b1a1
1 changed files with 2 additions and 1 deletions
|
@ -120,7 +120,8 @@ export default Vue.component('RichContent', {
|
||||||
// don't include spaces when processing mentions - we'll include them
|
// don't include spaces when processing mentions - we'll include them
|
||||||
// in MentionsLine
|
// in MentionsLine
|
||||||
lastSpacing = item
|
lastSpacing = item
|
||||||
return currentMentions !== null ? item.trim() : item
|
// Don't remove last space in a container (fixes poast mentions)
|
||||||
|
return (index !== array.length - 1) && (currentMentions !== null) ? item.trim() : item
|
||||||
}
|
}
|
||||||
|
|
||||||
currentMentions = null
|
currentMentions = null
|
||||||
|
|
Loading…
Add table
Reference in a new issue