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
Menu item text is turned into class names by lower casing and hyphenating with no prefixing/suffixing/escaping of existing class names. As an example a menu item of Course content turns into a menu item class course-content which has a CSS meaning. There are obviously many other names that would conflict with existing class names.
The text was updated successfully, but these errors were encountered:
For reasons unknown, each word of the menu name appears as an
individual class in the list of classes associated with the
menu item. These were being concatenated together with hyphens,
but could end up with class names like 'course-content' which
has a special CSS meaning. For now we just filter out all
classes that don't contain a hyphen or underscore.
Workaround for #37
4c29e21 works around the problem. The proper solution would probably be to avoid the menu item title from appearing in the list of classes in the first place.
Menu item text is turned into class names by lower casing and hyphenating with no prefixing/suffixing/escaping of existing class names. As an example a menu item of
Course content
turns into a menu item classcourse-content
which has a CSS meaning. There are obviously many other names that would conflict with existing class names.The text was updated successfully, but these errors were encountered: