Fix a regression in 2.9.12 where serializing empty HTML documents would not add a terminating newline. https://gitlab.gnome.org/GNOME/libxml2/-/issues/266 Taken from upstream: https://gitlab.gnome.org/GNOME/libxml2/-/commit/92d9ab4c28842a09ca2b76d3ff2f933e01b6cd6f diff --git a/HTMLtree.c b/HTMLtree.c --- a/HTMLtree.c +++ b/HTMLtree.c @@ -763,11 +763,15 @@ htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, if (((xmlDocPtr) cur)->intSubset != NULL) { htmlDtdDumpOutput(buf, (xmlDocPtr) cur, NULL); } - /* Always validate cur->parent when descending. */ - if ((cur->parent == parent) && (cur->children != NULL)) { - parent = cur; - cur = cur->children; - continue; + if (cur->children != NULL) { + /* Always validate cur->parent when descending. */ + if (cur->parent == parent) { + parent = cur; + cur = cur->children; + continue; + } + } else { + xmlOutputBufferWriteString(buf, "\n"); } break; packages/chemistry.scm'>logtreecommitdiff
path: root/gnu/packages/chemistry.scm
AgeCommit message (Expand)Author
2022-05-31gnu: Remove python2-numpy....* gnu/packages/python-xyz.scm (python2-numpy): Delete variable. (python2-numpy-1.8): Likewise. (python-numpy)[properties]: Delete field. * gnu/packages/maths.scm (flann): Delete comment. * gnu/packages/chemistry.scm (with-numpy-1.8): Delete procedure. Maxim Cournoyer
2022-05-31gnu: Remove nmoldyn....* gnu/packages/chemistry.scm (nmoldyn): Delete variable. Maxim Cournoyer
2022-05-31gnu: Remove domainfinder....* gnu/packages/chemistry.scm (domainfinder): Delete variable. Maxim Cournoyer
2021-12-13gnu: Simplify package inputs....This commit was obtained by running: ./pre-inst-env guix style without any additional argument. Ludovic Courtès
2021-10-12Merge remote-tracking branch 'origin/master' into core-updates-frozen.Mathieu Othacehe
2021-09-20gnu: Add python-pymol....* gnu/packages/chemistry.scm (python-pymol): New variable. Ricardo Wurmus