Skip to content
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.
This repository has been archived by the owner on Oct 4, 2022. It is now read-only.

Not all characters are properly matched if used as a keyword #265

Open
jcomack opened this issue Jun 7, 2016 · 3 comments
Open

Not all characters are properly matched if used as a keyword #265

jcomack opened this issue Jun 7, 2016 · 3 comments
Labels
bug Something isn't working Package: yoastseo

Comments

@jcomack
Copy link
Contributor

jcomack commented Jun 7, 2016

What did you expect to happen?

When adding special characters as my keyword, such as <,> etc., I expect them to be matched in the Snippet Editor.

Oddly enough this does work with .

What happened instead?

The keyword is not being emphasised in the Snippet Preview.

How can we reproduce this behavior?

Make a new post and add a title and some content containing a > or < character.
Set your keyword to something such as >.
Check the Snippet Preview's output.

Technical info

  • WordPress version: 4.5.2
  • Yoast SEO version: Latest trunk (or 3.3 beta 3 release)
@thulshof
Copy link
Contributor

thulshof commented Jul 6, 2017

This issue still exists (at least partially) in Yoast SEO 4.9. Compare:
edit_post_ _local_wordpress_develop_ _wordpress

edit_post_ _local_wordpress_develop_ _wordpress

These characters should be displayed because Google shows them too.

@Djennez
Copy link
Member

Djennez commented Mar 1, 2019

In Yoast 9.7 I can still confirm this issue. Single characters such as < or ^ seem to create a loop for the keyword analyzer (the spinning wheel shows and nothing happens). Using the character yields no troubles though.

@moorscode mind moving this to the YoastSEO.js repo?

@moorscode moorscode transferred this issue from Yoast/wordpress-seo May 6, 2019
@moorscode moorscode added bug Something isn't working Package: yoastseo labels May 6, 2019
@mmikhan
Copy link
Member

mmikhan commented Jan 28, 2021

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working Package: yoastseo
Projects
None yet
Development

No branches or pull requests

5 participants