Opened 8 years ago
Last modified 3 years ago
#39636 new enhancement
Smilies not converted when directly followed by punctuation marks
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Future Release | Priority: | normal |
Severity: | normal | Version: | 4.7.1 |
Component: | Formatting | Keywords: | 2nd-opinion |
Focuses: | Cc: |
Description
Steps to recreate:
- Create a new post or comment
- Insert a smilie directly followed by a period or other punctuation mark such as :).
- View the post or comment
Expected:
Ideally the smilie would show followed by the punctuation mark.
I've attached a screenshot showing how a post with the following text appears. Smiles with a space between them and the punctuation mark show, but the others do not.
This is a test :). It uses smilies :) If a smilie has punctuation directly after, it is not converted :(! :( The expected behavior would be to look like this: :) ! :) , However instead they appear as this :)! :),
Attachments (1)
Change History (6)
#2
@
3 years ago
- Milestone changed from Awaiting Review to 6.0
- Type changed from defect (bug) to enhancement
This ticket was mentioned in Slack in #core by costdev. View the logs.
3 years ago
Note: See
TracTickets for help on using
tickets.
Reproduction Report
Env
Steps to reproduce
Posts > Add New
.Results
Reproduced.
However, this is actually intended behaviour. The code that does the substitution specifically looks for spaces before converting an emoticon to a smiley. Therefore, this is not a
defect (bug)
.A quick search online suggests that this appears to have been a pain point for users for quite some years. For this reason, I'm marking this as an
enhancement
and adding it to the6.0
milestone for visibility and discussion.