Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 794733
Collapse All | Expand All

(-)file_not_specified_in_diff (-6 / +10 lines)
Line  Link Here
0
-- a/HTMLtree.c
0
++ b/HTMLtree.c
Lines 763-773 htmlNodeDumpFormatOutput(xmlOutputBufferPtr buf, xmlDocPtr doc, Link Here
763
            if (((xmlDocPtr) cur)->intSubset != NULL) {
763
            if (((xmlDocPtr) cur)->intSubset != NULL) {
764
                htmlDtdDumpOutput(buf, (xmlDocPtr) cur, NULL);
764
                htmlDtdDumpOutput(buf, (xmlDocPtr) cur, NULL);
765
            }
765
            }
766
            /* Always validate cur->parent when descending. */
766
            if (cur->children != NULL) {
767
            if ((cur->parent == parent) && (cur->children != NULL)) {
767
                /* Always validate cur->parent when descending. */
768
                parent = cur;
768
                if (cur->parent == parent) {
769
                cur = cur->children;
769
                    parent = cur;
770
                continue;
770
                    cur = cur->children;
771
                    continue;
772
                }
773
            } else {
774
                xmlOutputBufferWriteString(buf, "\n");
771
            }
775
            }
772
            break;
776
            break;
773
777

Return to bug 794733