Module:Constants: Difference between revisions

Fixed span definition
(More attempted bugfixes)
(Fixed span definition)
Line 200: Line 200:
   if doColor then
   if doColor then
     if template.isNegative ~= nil and template.isNegative then
     if template.isNegative ~= nil and template.isNegative then
       result = '<span color="red">'..result..'</span>'
       result = '<span style="color:red">'..result..'</span>'
     else
     else
       result = '<span color="green">'..result..'</span>'
       result = '<span style="color:green">'..result..'</span>'
     end
     end
   end
   end