Description
HTML:
<span wicket:id="foo bar"></span>
Java:
Label label = new Label("foo bar", "lol");
label.setOutputMarkupId(true);
Generates markup:
<span id="foo bar">lol</span>
Expected:
<span id="foo_bar">lol</span>
When wicket generates wicket:id attributes it should replace spaces with some appropriate valid character (like underscore "_").