Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#467 empty divs disappear

0.8a4
closed-duplicate
nobody
5
2010-03-12
2009-06-09
Gary
No

I add an empty div - '<div></div>' in the source. When I switch to design it disappears. To make it stay I have to put at least '&nbsp;' inside the tag. I can't find a reference to html 4.01 not allowing empty divs so I guess this is not a feature.

Discussion

  • pmoleri
    pmoleri
    2009-08-12

    I can confirm the bug in 0.8a4 Windows. The tags shouldn't disappear, at first I thought it was an automatic Markup Cleaner, but the tags disappear even if they have IDs.

     
    • status: open --> closed-duplicate