I think: getMarkupSettings().setStripWicketTags(true); in your Application.init() would do the trick.
-Don > On Mar 4, 2015, at 1:03 PM, Andreas Lundblad <andreas.lundb...@gmail.com> > wrote: > > I've noticed that <wicket:...> tags such as <wicket:enclosure> messes up > the CSS sometimes. > > In my particular example I have > > div.formRows > div { > display: table-row; > } > > and when I try to put an enclosure around a table row, the CSS child > selector doesn't work. > > Is there an easy workaround (except switching deployment mode)? > > best regards, > Andreas Lundblad