Yoast / yoast-components

Accessible React components by Yoast
GNU General Public License v3.0
21 stars 6 forks source link

Cannot use a combination of < and > #815

Open andizer opened 8 years ago

andizer commented 8 years ago

What did you expect to happen?

That content would be displayed as I expected

What happened instead?

Content will be stripped

How can we reproduce this behavior?

Enter a text like Sometime it is < test and sometimes not >

yoast_seo_content_analysis

yoast_seo_content_analysis

Technical info

andizer commented 8 years ago

Probably we should validate if < is followed by whitespace, if it is, then we shouldn't strip the tags from it.