changeset 60:45d2b153c2df

Wowstead forums cannot handle [text in square brackets] if it isn't a markup tag, even when in plaintext mode.
author Farmbuyer of US-Kilrogg <farmbuyer@gmail.com>
date Tue, 17 Apr 2012 20:51:36 +0000
parents 1cbaa1ce8253
children 99ab21f0755f
files text_tabs.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)