# HG changeset patch # User Farmbuyer of US-Kilrogg # Date 1334695896 0 # Node ID 45d2b153c2df61bd5ecaba45bc666a02dbf5039c # Parent 1cbaa1ce8253325fd53f38546b22b6f61632d2b9 Wowstead forums cannot handle [text in square brackets] if it isn't a markup tag, even when in plaintext mode. diff -r 1cbaa1ce8253 -r 45d2b153c2df text_tabs.lua --- a/text_tabs.lua Tue Apr 17 08:40:34 2012 +0000 +++ b/text_tabs.lua Tue Apr 17 20:51:36 2012 +0000 @@ -179,7 +179,7 @@ -- (e.g., "we're dropping to 10-man for the PvP boss") local i,o = do_attendance (e.raidersnap, e.maxsize / MEMBERS_PER_RAID_GROUP) - cache[#cache+1] = ("\n%s -- %s\n[+] %s\n[-] %s\n"):format(e.instance, + cache[#cache+1] = ("\n%s -- %s\n{+} %s\n{-} %s\n"):format(e.instance, e.bossname, i, o) elseif e.kind == 'time' then @@ -199,7 +199,7 @@ local i,o = do_attendance (saved_g_loot_pointer.raiders, maxsize / MEMBERS_PER_RAID_GROUP) local h, m = GetGameTime() - local additional = ("Attendance for %s at %.2d:%.2d:\n[+] %s\n[-] %s"):format(instance, h, m, i, o) + local additional = ("Attendance for %s at %.2d:%.2d:\n{+} %s\n{-} %s"):format(instance, h, m, i, o) editbox:SetText(editbox:GetText() .. '\n' .. additional) end) container:AddChild(w)