Opened 10 years ago
Last modified 4 years ago
#39636 new enhancement
Smilies not converted when directly followed by punctuation marks
| Reported by: | ourvalley | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Formatting | Version: | 4.7.1 |
| Severity: | normal | Keywords: | 2nd-opinion |
| Cc: | Focuses: |
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
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
enhancementand adding it to the6.0milestone for visibility and discussion.