1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-11 12:58:16 +03:00

587867 xmllint --html --xmlout serializing as HTML

* xmllint.c: one option was needed after the switch to the new save API
This commit is contained in:
Daniel Veillard 2009-08-23 15:31:18 +02:00
parent 48b60c3c4d
commit 9d96264721

View File

@ -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);