Make WordPress Core

Opened 16 months ago

Last modified 16 months ago

#51353 new defect (bug)

Smart Quote Bug

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


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 16 months 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
16 months 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
16 months ago

  • Keywords reporter-feedback added

16 months ago

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

Note: See TracTickets for help on using tickets.