Skip to content

Menu text used as class names

Created by: jimt

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.