write_element() was writing to stdout.

pull/193/head
Michael R Sweet 17 years ago
parent fe77bb9f69
commit 29ab62983c
  1. 9
      doc/reference.html
  2. 6
      mxmldoc.c

@ -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>

@ -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);

Loading…
Cancel
Save