You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Djangocms-blog is escaping meta description in get_description (in Post and BlogCategory), but django-meta already escape all meta tags.
The result is that keywords (and other meta tags that don't use meta description) are single escaped (in django-meta), and that description (and all other meta tags that use meta description as a source) are double escaped (one time in djangocms-blog, and one time in django-meta):
The & is replaced by &.
Steps to reproduce
Create a blog post,
Add a meta description with some chars that are encoded (like '),
Description
Djangocms-blog is escaping meta description in
get_description
(inPost
andBlogCategory
), but django-meta already escape all meta tags.The result is that keywords (and other meta tags that don't use meta description) are single escaped (in django-meta), and that description (and all other meta tags that use meta description as a source) are double escaped (one time in djangocms-blog, and one time in django-meta):
Steps to reproduce
'
),Versions
All versions since this commit (2014).
Expected behaviour
Meta description and keywords should be encoded only one time.
Actual behaviour
Meta description and related meta tags are encoded two times:
The text was updated successfully, but these errors were encountered: