Using `br` produces two `<br>` tags in FF
swistak opened this issue · comments
Seems that arbre generates invalid markup for elements that should have no content. One of them is br
br
produces <br></br>
htm which for some reason Firefox interprets as 2 BR tags. While some fault is on FF side, above HTML is illegal, and i think arbre should not produce closing tags for stuff like br
or input
Similar issue here: #26
adding
class Arbre::HTML::Br
def closing_tag
""
end
end
seems to work as a workaround. Should be fixed though.
This was fixed by #31