Actually, I think that we might want to do this for all tags except for couple of selected ones, e.g. <hr />
This would also reduce confusion of new user when they do <span wicket:id="label'/> -Matej On 11/1/07, Matej Knopp <[EMAIL PROTECTED]> wrote: > Hi, > > I noticed that if you add empty <div /> tags to firefox, it treats it > like if you forgot to close it. That can cause weird behavior on ajax > replacements for example, as it treats the subsequent tags as children > of the <div /> tag. > > I think we should have a MarkupFilter that replaces all <div /> tags > with <div></div>. This semes to be also case for <span>, <p>, <b>, ... > etc. > > -Matej >