mirror of
https://gitlab.gnome.org/GNOME/libxml2
synced 2025-03-28 21:33:13 +00:00
Fix a missing #ifdef
https://bugzilla.gnome.org/show_bug.cgi?id=611806 Problem raised by Mark Overmeer
This commit is contained in:
parent
743311bd91
commit
9ccea57d61
@ -2655,8 +2655,11 @@ static void parseAndPrintFile(char *filename, xmlParserCtxtPtr rectxt) {
|
||||
|
||||
if (format)
|
||||
saveOpts |= XML_SAVE_FORMAT;
|
||||
|
||||
#if defined(LIBXML_HTML_ENABLED) || defined(LIBXML_VALID_ENABLED)
|
||||
if (xmlout)
|
||||
saveOpts |= XML_SAVE_AS_XML;
|
||||
#endif
|
||||
|
||||
if (output == NULL)
|
||||
ctxt = xmlSaveToFd(1, encoding, saveOpts);
|
||||
|
Loading…
x
Reference in New Issue
Block a user