Hi,
I noticed, that an apostrophe ('
) displays as '
in my posts ‘body’. (Posts of my Django app, not my posts here on the forum). I might be wrong but it looks like it started after I installed ckeditor. Any advice how to fix that so apostrophe would display as apostrophe?
Thanks.
Edited to add.
Actually the article page doesn’t display special characters, it shows everything just fine. But the Category page, that displays a list. of articles (title and little text prompt) does it.
<p>{{article.body|slice:":200"|striptags}}...</p>
I put striptags because an article text have <p>
tags and also <a>
tags and I don’t want them in the text prompts. So what is a proper way to deal with that?