We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
When creating an XML document using JSoup, the XML declaration that is output is missing the closing question mark
Example code:
Document document = Document.createShell(""); document.outputSettings().syntax(Syntax.xml); document.charset(Charset.forName("utf-8")); System.out.println(document.html());
which outputs:
<?xml version="1.0" encoding="UTF-8"> <html> <head></head> <body></body> </html>
Expected output:
<?xml version="1.0" encoding="UTF-8"?> <html> <head></head> <body></body> </html>
The text was updated successfully, but these errors were encountered:
Fixed by 4eb4f2b
Sorry, something went wrong.
c090381
No branches or pull requests
When creating an XML document using JSoup, the XML declaration that is output is missing the closing question mark
Example code:
which outputs:
Expected output:
The text was updated successfully, but these errors were encountered: