commit | 9d9626472177ecc1d3aaebf7f523efb55707e62c | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@redhat.com> | Sun Aug 23 15:31:18 2009 +0200 |
committer | Daniel Veillard <veillard@redhat.com> | Sun Aug 23 15:31:18 2009 +0200 |
tree | 6817e2faee74217ed1b8cc60ad0d241b895500cc | |
parent | 48b60c3c4d94a2aeb93ae9ff2181ad76b79eddd9 [diff] |
587867 xmllint --html --xmlout serializing as HTML * xmllint.c: one option was needed after the switch to the new save API
diff --git a/xmllint.c b/xmllint.c index d1116af..9b0b89d 100644 --- a/xmllint.c +++ b/xmllint.c
@@ -2549,6 +2549,8 @@ if (format) saveOpts |= XML_SAVE_FORMAT; + if (xmlout) + saveOpts |= XML_SAVE_AS_XML; if (output == NULL) ctxt = xmlSaveToFd(1, encoding, saveOpts);