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:
if UnitIsUnit(unit, "player")then
returntrue
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.