WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#39636 new defect (bug)

Smilies not converted when directly followed by punctuation marks

Reported by: ourvalley Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7.1
Component: Formatting Keywords:
Focuses: Cc:
PR Number:

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)

Screen Shot 2017-01-19 at 6.22.43 AM.png (71.9 KB) - added by ourvalley 3 years ago.

Download all attachments as: .zip

Change History (2)

#1 @SergeyBiryukov
3 years ago

  • Component changed from General to Formatting
Note: See TracTickets for help on using tickets.