The need to add an icon to a menu item is becoming fairly commonplace, and while menu_icons module exists, it is not really suited for modern iconfont solutions, as it is based on uploading an image to the server.
I've provided a snippet of code here, that works with menu_attributes module to inject special HTML when there is a classname on the link that starts with
I'm curious if the maintainers would be interested in adding such a feature to this module, before going of to create another module that would have a dependency on this one.
Please have a look at the snippet and let me know if you have any feedback, comments, or suggestions. Thanks!