Releases: strapi/strapi-plugin-seo
Releases · strapi/strapi-plugin-seo
v1.7.7
1.7.5
📙 Language
- feat(i18n): adding Brazilian Portuguese base translation @RamiroMonte
Fix Issue #6
- Fix #6
v1.7.1
v1.7.0
v1.6.3
v1.6.2
Use selective dependency resolutions to have ansi-regex@^5.0.1
which doesn't have any vulnerability.
v1.6.1
This release replaces the remove-markdown package to was being used to count words in rich text fields (markdown) for security purposes
The plugin is now using showdown that convert the markdown to HTML to easily count words.
const html = converter.makeHtml(richtext);
const wordsNotCleaned = html
.replace(/<\/?[^>]+(>|$)/g, '')
.replace('\n', ' ')
.split(' ');
const words = wordsNotCleaned.filter((x) => {
return x !== '' && x !== '\n';
});