Make WordPress Core

Opened 5 years ago

Last modified 5 years ago

#51353 new defect (bug)

Smart Quote Bug

Reported by: xanathos's profile xanathos Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 5.5.1
Component: Formatting Keywords: reporter-feedback
Focuses: Cc:

Description

Hi there,
There is a bug when you type a word between quotes "" at the end of a line, when nothing is followed after the last quote, it will be only be one directional way like that : « «
It seems to work correctly only if the quotes are followed by a space and a character.

eg: "Hello" world will return « Hello » world
"Hello world" will return « Hello world«

Thanks to take time to look at it.

Attachments (1)

quotes-block-editor-french.jpg (21.1 KB) - added by sabernhardt 5 years ago.
"Hello World" or Hello "world" in various blocks, with Twenty Twenty theme, in French

Download all attachments as: .zip

Change History (3)

#1 @sabernhardt
5 years ago

@xanathos Thanks for the report!

Do you use the Classic editor or the (Gutenberg) Block editor? If you use the blocks, do you see this in all blocks or just certain ones (paragraph, quote)? Also, is your site in French or another language?

There are reports #48602 and #44448 for similar situations with the French smart quotes, which involve extra tags (em for italicized text or span for a different text color).

I did a quick test in French (France) for both editors and did not see a problem. (I'll upload the block editor screenshot.)

#2 @sabernhardt
5 years ago

  • Keywords reporter-feedback added

@sabernhardt
5 years ago

"Hello World" or Hello "world" in various blocks, with Twenty Twenty theme, in French

Note: See TracTickets for help on using tickets.