Why don't you just use zo_strformat(SI_TOOLTIP_ITEM_NAME, GetItemLinkName(itemLink))? There was this bug with Dietrich^p in it, but other then that, it's fine, or no?
Edit: or, for the code that actually puts the "prettified" item name back in a link, simply itemLink:gsub("|h.-|h", "|h|h")
Last edited by merlight : 08/21/15 at 02:52 AM.
|