Any IsValidLink() ?
I don't know if you have seen this recently, but in addition to the usual color flooders using "|c" , now gold spammers are using "|h" in game links
Is it any API ingame for a simple check like IsValidLink("|HFF0000:ev|hk|h") returning False ?
Yet the only workaround to test this is to create a hidden Tooltip, use tooltip:SetLink and catch the error message "malformed link" when registering an event to EVENT_LUA_ERROR
There is really no better way for forcing the client to return if the link is valid ????
|