write_element() was writing to stdout.

This commit is contained in:
Michael R Sweet 2008-01-29 01:00:40 +00:00
parent fe77bb9f69
commit 29ab62983c
2 changed files with 11 additions and 4 deletions

View File

@ -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;
}
--></style>

View File

@ -2667,11 +2667,11 @@ write_element(FILE *out, /* I - Output file */
mxmlFindElement(doc, doc, "union", "name", node->value.text.string,
MXML_DESCEND)))
{
printf("<a href=\"#");
fputs("<a href=\"#", out);
write_string(out, node->value.text.string, mode);
printf("\">");
fputs("\">", out);
write_string(out, node->value.text.string, mode);
printf("</a>");
fputs("</a>", out);
}
else
write_string(out, node->value.text.string, mode);