mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-04-24 18:50:07 +03:00
Fix xmlKeepBlanksDefault to not break indent
* parserInternals.c: the old compatibility function xmlKeepBlanksDefault() should not reset xmlIndentTreeOutput to 0 because the default is 1
This commit is contained in:
parent
982ff6377a
commit
2f522dc68f
@ -2067,7 +2067,7 @@ xmlKeepBlanksDefault(int val) {
|
||||
int old = xmlKeepBlanksDefaultValue;
|
||||
|
||||
xmlKeepBlanksDefaultValue = val;
|
||||
xmlIndentTreeOutput = !val;
|
||||
if (!val) xmlIndentTreeOutput = 1;
|
||||
return(old);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user