The bootstrap theme is distributed with a set of nice glyphs.
To use them we are supposed to insert
<i class="icon-name"></i> into the menu link titles.
What is the best practice to insert them into Drupal menu links?
I imagine we can achieve this in following ways:
1) use Menu Attributes module to set classes or ids,
functions.php to insert
<i class="icon-' . $css_class . '"></i>
2) use jQuery:
$('ul.nav > li > a').append('<i class="icon-' . $css_class . '"></i>');
Please, offer your solutions?
UPD. The discussion at http://drupal.stackexchange.com/questions/24783/advanced-menu-theming-in... looks helpful, but there is no final solution, only API functions pointers.
BTW, many thanks to the developers and maintainers of this wonderful theme.