Skip to content

Spanish Sites: wptexturize not converting quotes to angular quotes (« ») or chevrons #83404

Closed
Automattic/jetpack
#35087
Automattic/jetpack#35087

Description

Quick summary

Normally, the wptexturize filter will replace the “straight” quotation marks ("") with the curly ones (“”). in 2019, a change was introduced to update the way in which wptexturize works specifically for ES websites so that the the “straight” quotation marks ("") are now replaced with the official Spanish ones («»). (This was also discussed in pbg9X-dST-p2)

This had been working correctly on both simple and AT sites but today I noticed that only the closing quotation mark is showing ».

Steps to reproduce

  1. Set a site's language to Spanish (ES_es).
  2. Create a new post and include a string of text between quotation marks somewhere in the post, the title, or the content.
  3. Publish the post.
  4. Visit your site to see the post.

What you expected to happen

I expected the default quotation marks to be replaced with the ES ones (« »). This is exactly what happens on a self-hosted site:

Screen Shot on 2023-10-24 at 10:31:17

What actually happened

On simple sites, only the closing Spanish Quotation mark is shown (« »):
Screen Shot on 2023-10-24 at 10:29:56
Source URL: https://mrfoxtalbot.wordpress.com/2023/10/05/no-volvere-a-ser-joven-de-gil-de-biedma/

In the case of Atomic sites, none is shown at all.
Screen Shot on 2023-10-24 at 10:49:29
Source URL: https://mrfxvanillaat.wpcomstaging.com/2023/10/24/test/

Impact

All

Available workarounds?

No but the platform is still usable

Platform (Simple and/or Atomic)

Simple, Atomic

Logs or notes

I have not tested this automatically but I do not think there are any workarounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Labels

Type

No type

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions