View Single Post
01-31-17, 05:00 PM   #3
Ketho
A Pyroguard Emberseer
 
Ketho's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,026
I also remember some workaround to set the text on a frame and get it back again
Lua Code:
  1. local b = CreateFrame("Button")
  2.  
  3. local function PlainText(s)
  4.     return b:GetText(b:SetText(s))
  5. end
Edit: nvm, only seems to work for the ui escape sequences with format strings :s
http://www.wowinterface.com/forums/s...php?t=36884#12

Last edited by Ketho : 01-31-17 at 06:06 PM.
  Reply With Quote