View Single Post
10-06-16, 05:21 AM   #1
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Bug with "highlight" BBCode tag

When the first line of a code block has indentation, the "highlight" tag removes it, while the "code" tag does not. Compare:

Code:
	if UnitIsUnit(unit, "player") then
		return true
	end
Lua Code:
  1. if UnitIsUnit(unit, "player") then
  2.         return true
  3.     end
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
  Reply With Quote