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.3.0-beta2, 1.2.6 Reporter: Tauren Mills Priority: Minor 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.