diff options
author | Shaun McCance <shaunm@src.gnome.org> | 2005-01-03 16:53:20 +0000 |
---|---|---|
committer | Shaun McCance <shaunm@src.gnome.org> | 2005-01-03 16:53:20 +0000 |
commit | 18c39f5c20b3dd698122225ea41d89185808591c (patch) | |
tree | 9fbf179daf4ed94aa0c7c89a99e01af3c474a596 | |
parent | c97f639e7040077b068760c1ea332193801a5366 (diff) | |
download | yelp-18c39f5c20b3dd698122225ea41d89185808591c.tar.gz |
- Use xsltSaveResultToString here, fixes #162796
* src/yelp-toc-pager.c:
- Use xsltSaveResultToString here, fixes #162796
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | src/yelp-toc-pager.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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; |