mirror of
https://github.com/michaelrsweet/mxml.git
synced 2024-11-13 23:35:30 +00:00
write_element() was writing to stdout.
This commit is contained in:
parent
fe77bb9f69
commit
29ab62983c
@ -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…
Reference in New Issue
Block a user