CMenu showing images as labels

How do I force CMenu widget to show images instead of text labels? For now the only solution I have found is to set encodeLabel property of widget globally false and then place an <img> tag in a label text.

Is there a better way to do it? I do not want to turn off HTML encoding globally.