[ https://issues.apache.org/jira/browse/WICKET-773?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Juergen Donnerstag closed WICKET-773. ------------------------------------- Resolution: Invalid Fix Version/s: 1.2.6 1.3.0-beta2 The tag starts with <.. and closes with ..>. Everything in between gets removed. The newline is not part of it. If you don't want it, than you might remove the newline from your page markup. > Wicket strips <?xml?> line from html but doesn't remove newline > --------------------------------------------------------------- > > Key: WICKET-773 > URL: https://issues.apache.org/jira/browse/WICKET-773 > Project: Wicket > Issue Type: Bug > Components: wicket > Affects Versions: 1.2.6, 1.3.0-beta2 > Reporter: Tauren Mills > Assignee: Juergen Donnerstag > Priority: Minor > Fix For: 1.3.0-beta2, 1.2.6 > > > Having an html page like this: > ---- > <?xml version="1.0" encoding="utf-8"?> > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > ---- > Results in output of this: > ---- > <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> > ---- > Notice the blank line before the DOCTYPE. Line and newline should be removed > if getStripXmlDeclarationFromOutput() is set. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.