diff options
author | Daniel Veillard <veillard@redhat.com> | 2009-08-23 15:31:18 +0200 |
---|---|---|
committer | Daniel Veillard <veillard@redhat.com> | 2009-08-23 15:31:18 +0200 |
commit | 9d9626472177ecc1d3aaebf7f523efb55707e62c (patch) | |
tree | 6817e2faee74217ed1b8cc60ad0d241b895500cc /xmllint.c | |
parent | 48b60c3c4d94a2aeb93ae9ff2181ad76b79eddd9 (diff) | |
download | libxml2-9d9626472177ecc1d3aaebf7f523efb55707e62c.tar.gz |
587867 xmllint --html --xmlout serializing as HTML
* xmllint.c: one option was needed after the switch to the new save API
Diffstat (limited to 'xmllint.c')
-rw-r--r-- | xmllint.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2549,6 +2549,8 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) { if (format) saveOpts |= XML_SAVE_FORMAT; + if (xmlout) + saveOpts |= XML_SAVE_AS_XML; if (output == NULL) ctxt = xmlSaveToFd(1, encoding, saveOpts); |