wordpress-seo icon indicating copy to clipboard operation
wordpress-seo copied to clipboard

Sentences containing ` ` are not highlighted in Consecutive sentences and Keyphrase distribution assessments

Open FAMarfuaty opened this issue 2 years ago • 6 comments

  • [x] I've read and understood the contribution guidelines.
  • [x] I've searched for any related issues and avoided creating a duplicate issue.

Please give us a description of what happened

Sentences that contain   are not highlighted in Consecutive sentences assessment. Please note however, the same sentence is highlighted in Passive voice assessment for example if it's a passive sentence.

To Reproduce

Step-by-step reproduction instructions

  1. Install and activate Yoast SEO
  2. Create a post
  3. Add a text to the post, at least 300 words
  4. Add the following sentences
Apples have been grown for thousands of years in Asia and Europe and were brought to North America by European colonists. Apples have religious and mythological significance in many cultures, including Norse, Greek, and European Christian tradition. Apples grown from seed tend to be very different from those of their parents, and the resultant fruit frequently lacks desired characteristics.

NOTE: add the sentences above in HTML/Code editor mode

  1. Go to Consecutive sentences assessment, confirm that it recognises an occurrence of consecutive sentences with the same word beginning
  2. Click on the eye icon
  3. Confirm that the sentences that contain   are not highlighted

Expected results

  1. The sentences that contain   are highlighted in the Consecutive sentences assessment

Actual results

  1. The sentences that contain   are NOT highlighted in the Consecutive sentences assessment

Screenshots, screen recording, code snippet

If possible, please provide a screenshot, a screen recording or a code snippet which demonstrates the bug.

https://user-images.githubusercontent.com/48715883/215789020-0587852d-4476-449e-a271-d371bf0acbf0.mov

Technical info

  • If relevant, which editor is affected (or editors):
  • [x] Block Editor
  • [ ] Gutenberg Editor
  • [ ] Elementor Editor
  • [x] Classic Editor
  • [ ] Other:
  • Which browser is affected (or browsers):
  • [ ] Chrome
  • [ ] Firefox
  • [ ] Safari
  • [ ] Other:

Used versions

  • Device you are using:
  • Operating system:
  • PHP version:
  • WordPress version:
  • WordPress Theme:
  • Yoast SEO version:
  • Gutenberg plugin version:
  • Elementor plugin version:
  • Classic Editor plugin version:
  • Relevant plugins in case of a bug:

FAMarfuaty avatar Jan 31 '23 14:01 FAMarfuaty