From a6e72aa7a562879b830abd86656b8ac83da4297b Mon Sep 17 00:00:00 2001 From: pompachomp Date: Thu, 4 Mar 2010 18:58:03 -0500 Subject: [PATCH] More changes to the bbcode formatting --- ARL.lua | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/ARL.lua b/ARL.lua index 299d9c3..ec345e0 100644 --- a/ARL.lua +++ b/ARL.lua @@ -1825,10 +1825,12 @@ do if not RecipeDB[SpellID].is_known then tinsert(text_table, "[color=red]") end - tinsert(text_table, "\n[b]" .. SpellID .. "[\\b] - " .. RecipeDB[SpellID].name .. " (" .. RecipeDB[SpellID].skill_level .. ")\n") + tinsert(text_table, "\n[b]" .. SpellID .. "[/b] - " .. RecipeDB[SpellID].name .. " (" .. RecipeDB[SpellID].skill_level .. ")\n") -- Close Color tag if not RecipeDB[SpellID].is_known then tinsert(text_table, "[/color]\nRecipe Flags:\n[list]") + elseif RecipeDB[SpellID].is_known then + tinsert(text_table, "\nRecipe Flags:\n[list]") end end @@ -1848,7 +1850,7 @@ do prev = true -- BBCode elseif (output == "BBCode") then - tinsert(text_table, "[*] " .. i) + tinsert(text_table, "[*]" .. FILTER_NAMES[i]) end end end -- 1.7.9.5