I am using CKEditor to let people describe their organization with all the styles and fonts. So when it saves in the database its like
< gets saved as
> and rest all you know for the html tags. When I populate this page for public view I convert the
< to html tags so no issue in displaying too. But the thing noticed recently is when I search the same profile in google I can see
<p> such kind of tags their. Searched Google and Stack Overflow to solve the same but didn't help. Is their any feasible solution?
Sample example of how content from CKEditor stores in table is
>) in the database - this is what's ultimately causing the problems and making it harder to work with. Only when you display this content in an HTML context (ie. "populate this page for public view") should you be converting to HTML entities.