If anyone else bumps into the same question...
A quick and dirty method that worked for me is to force HTML contents into the MenuItem Text
(with appropriate escaping). You can then style it any way you want in your CSS, or even set each menu item to use a different style:
<asp:MenuItem Text="<span class="menuitem_text">Text Here</span>" />
The HTML ends up inside the <a>
tag:
<li><a ...><span class="menuitem_text">Text Here</span></a></li>
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…