Fix rendering issue. Add active class

This commit is contained in:
YNH Webdev
2013-11-08 23:03:30 +01:00
parent 0721384b60
commit 7e69fddac9
2 changed files with 6 additions and 1 deletions

View File

@@ -75,7 +75,7 @@ feature -- Rendering
l_attributes.append_character ('%"')
end
Result := "<" + tag + " " + l_attributes
if body.is_empty and not tag.same_string ("textarea") and not tag.same_string ("span") and not tag.same_string ("button") and not tag.same_string ("ul") then
if body.is_empty and not tag.same_string ("textarea") and not tag.same_string ("span") and not tag.same_string ("button") and not tag.same_string ("ul") and not tag.same_string ("div") then
Result.append (" />")
else
Result.append (" >" + body + "</" + tag + ">")