Describe the bug
When attempting to write a new microblog post, after hitting Enter at the end of the line where the last character on the line is a colon (:), the last word in the line is transformed into "null". This is intermittent, not every Enter event does this. I have a video but Github doesn't seem to allow it to upload.
After a little more testing, I think the issue is the emoji picker, which is triggered by the colon character. I think if you add a newline, then go back to the previous line, there is an attempt to bring up an emoji picker, but if the word has no corresponding emoji, then "null" is inserted instead.
On which Mbin instance did you find the bug?
kbin.earth
Which Mbin version was running on the instance?
1.9.1
To Reproduce
Steps to reproduce the behavior:
- Start a new microblog post.
- Write a line of text ending in a colon.
- Hit Enter to add a new line.
- Hit Backspace to go back to the previous line.
- Hit Enter again.
- Observe the previous line of text now ending with "null".
Expected behavior
Words ending in a colon should not be replaced by "null" if no corresponding emoji exists for that word.
Screenshots


Desktop (please complete the following information):
- OS: Windows 10
- Browser: Firefox
- Browser Version: 151.0.2
Smartphone (please complete the following information):
- Device: N/A
- OS: N/A
- Browser: N/A
- Browser Version: N/A
Additional context
Add any other context about the problem here.
Describe the bug
When attempting to write a new microblog post, after hitting Enter at the end of the line where the last character on the line is a colon (:), the last word in the line is transformed into "null". This is intermittent, not every Enter event does this. I have a video but Github doesn't seem to allow it to upload.
After a little more testing, I think the issue is the emoji picker, which is triggered by the colon character. I think if you add a newline, then go back to the previous line, there is an attempt to bring up an emoji picker, but if the word has no corresponding emoji, then "null" is inserted instead.
On which Mbin instance did you find the bug?
kbin.earth
Which Mbin version was running on the instance?
1.9.1
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Words ending in a colon should not be replaced by "null" if no corresponding emoji exists for that word.
Screenshots


Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context
Add any other context about the problem here.