summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShaun McCance <shaunm@src.gnome.org>2005-01-03 16:53:20 +0000
committerShaun McCance <shaunm@src.gnome.org>2005-01-03 16:53:20 +0000
commit18c39f5c20b3dd698122225ea41d89185808591c (patch)
tree9fbf179daf4ed94aa0c7c89a99e01af3c474a596
parentc97f639e7040077b068760c1ea332193801a5366 (diff)
downloadyelp-18c39f5c20b3dd698122225ea41d89185808591c.tar.gz
- Use xsltSaveResultToString here, fixes #162796
* src/yelp-toc-pager.c: - Use xsltSaveResultToString here, fixes #162796
-rw-r--r--ChangeLog5
-rw-r--r--src/yelp-toc-pager.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index f28bbb93..4117250a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-01-03 Shaun McCance <shaunm@gnome.org>
+
+ * src/yelp-toc-pager.c:
+ - Use xsltSaveResultToString here, fixes #162796
+
2005-01-02 Shaun McCance <shaunm@gnome.org>
* src/yelp-bookmarks.c:
diff --git a/src/yelp-toc-pager.c b/src/yelp-toc-pager.c
index 3f3084e3..a5257bc5 100644
--- a/src/yelp-toc-pager.c
+++ b/src/yelp-toc-pager.c
@@ -1053,7 +1053,7 @@ xslt_yelp_document (xsltTransformContextPtr ctxt,
xsltApplyOneTemplate (ctxt, node, inst->children, NULL, NULL);
- htmlDocDumpMemory (new_doc, &page_buf, &buf_size);
+ xsltSaveResultToString (&page_buf, &buf_size, new_doc, style);
ctxt->outputFile = old_outfile;
ctxt->output = old_doc;