Yoast / YoastSEO.js

Analyze content on a page and give SEO feedback as well as render a snippet preview.
GNU General Public License v3.0
403 stars 170 forks source link

subheading followed by more than 300 words : count error #2204

Closed developpeur-pro closed 5 years ago

developpeur-pro commented 5 years ago

What did you expect to happen?

the alert "1 subheading is followed by more than the recommended maximum of 300 words" should be displayed only if the subheading is realy followed by more than 300 words

What happened instead?

Il the subheading is followed by a bulleted list with numbers, the alert is displayed even if there is less than 300 words after the subheading (only 124 words in my case). It seems that each digit is considered as a word.

How can we reproduce this behavior?

Write a bulleted list withe numbers after the subheading. Here is my example (it is an index of a video) 0:00 : plan de la présentation 1:20 : La mise en page de la feuille Excel 3:23 : 1ère méthode : enregistrer le classeur Excel en PDF. Les propriétés et la qualité du doc PDF 4:45 : options (sélection du contenu, norme PDF/A) 7:28 : enregistrement en PDF selon 2 qualités différentes et comparaison des tailles de fichiers 10:00 : 2de méthode : imprimante PDF 10:57 : propriétés de Foxit PDF Printer 12:05 : création d'un profil pour la compression des image et l'inclusion des polices dans le fichier 14:30 : génération des fichiers PDF pour chaque feuille et comparaison de la taille de fichier avec la méthode précédente 15:55 : rassemblement des fichiers en un seul 17:24 : synthèse

Technical info

Which browser is affected (or browsers):