From 29ab62983c0b0c447bcad51ef1b25da808dffc7f Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Tue, 29 Jan 2008 01:00:40 +0000 Subject: [PATCH] write_element() was writing to stdout. --- doc/reference.html | 9 ++++++++- mxmldoc.c | 6 +++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/doc/reference.html b/doc/reference.html index f0b617f..024a688 100644 --- a/doc/reference.html +++ b/doc/reference.html @@ -64,6 +64,8 @@ div.contents ul.contents { } .members { } +.method { +} .parameters { } .returnvalue { @@ -123,7 +125,12 @@ div.body dt { div.body dd { margin-bottom: 0.5em; } -h1.title, h2.title, h3.title { +h1.title { +} +h2.title { + border-bottom: solid 2px black; +} +h3.title { border-bottom: solid 2px black; } --> diff --git a/mxmldoc.c b/mxmldoc.c index 3a54a66..38361cb 100644 --- a/mxmldoc.c +++ b/mxmldoc.c @@ -2667,11 +2667,11 @@ write_element(FILE *out, /* I - Output file */ mxmlFindElement(doc, doc, "union", "name", node->value.text.string, MXML_DESCEND))) { - printf("value.text.string, mode); - printf("\">"); + fputs("\">", out); write_string(out, node->value.text.string, mode); - printf(""); + fputs("", out); } else write_string(out, node->value.text.string, mode);