After slugify, add a .replace('_', '-') as in line 87 so that css classes do not contain underscores. This happens particularly when a page type contains underscore.
Make a note as this may break existing css.
Starting from v0.5.0, all non-backwards compatible changes will get a new minor number, leaving the revision number for all other releases.
https://github.com/Wtower/django-ninecms/blob/v0.6.0/ninecms/utils/render.py#L49
After
slugify
, add a.replace('_', '-')
as in line 87 so that css classes do not contain underscores. This happens particularly when a page type contains underscore.Make a note as this may break existing css.
Starting from v0.5.0, all non-backwards compatible changes will get a new minor number, leaving the revision number for all other releases.