I got bit by this problem yesterday. Although I was just previewing the
page in the browser by loading the HTML file directly. Since Wicket
wasn't running it wouldn't have mattered if it fixed my div tag for me
or not.
I'd rather see Wicket not modify the HTML as it's then starting down the
slippery slope of assuming the developer made an error and automatically
correcting it. I think a better solution would be to have an option
where Wicket looks for potential errors in your HTML and then outputs a
warning to the console.
John
Gwyn Evans wrote:
It seems to me that while it's something that Wicket /could/ do, I'm
not sure if it's something that Wicket /should/ do...
Having said that, I think I'd be less against it if we restricted it
to only tags that had a "wicket:id" attribute?