#define W_L(X) do { chtml50->out = BUFFERED_WRITE_LITERAL(chtml50->out, &doc->buf, (X)); } while(0)
#define W_V(X) do { chtml50->out = (X) ? BUFFERED_WRITE_VALUE(chtml50->out, &doc->buf, (X)) \
: BUFFERED_WRITE_LITERAL(chtml50->out, &doc->buf, ""); } while(0)
+#define W_NLCODE() do { char *nlcode = TO_NLCODE(chtml50->conf); W_V(nlcode); } while (0)
static char *s_chtml50_start_html_tag (void *pdoc, Node *node);
static char *s_chtml50_end_html_tag (void *pdoc, Node *node);
/* start HTML tag */
/*--------------------------------------------------------------------------*/
W_L("<html>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</html>");
+ W_NLCODE();
+
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("<head>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</head>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</title>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
doc = chtml50->doc;
W_L("</body>");
+ W_NLCODE();
return chtml50->out;
}
doc = chtml50->doc;
W_L("</a>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
r = doc->r;
W_L("<br>");
+ W_NLCODE();
return chtml50->out;
}
r = doc->r;
W_L("</font>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
doc = chtml50->doc;
W_L("</form>");
+ W_NLCODE();
return chtml50->out;
}
W_L(" checked");
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
doc = chtml50->doc;
W_L("<center>");
+ W_NLCODE();
return chtml50->out;
}
doc = chtml50->doc;
W_L("</center>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
W_L(" multiple");
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</select>");
+ W_NLCODE();
+
return chtml50->out;
}
W_L("\"");
}
W_L(">");
+ W_NLCODE();
+
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</div>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</ul>");
+ W_NLCODE();
return chtml50->out;
}
chtml50->pre_flag++;
W_L("<pre>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</pre>");
+ W_NLCODE();
chtml50->pre_flag--;
return chtml50->out;
W_L("\"");
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
doc = chtml50->doc;
W_L("</p>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</ol>");
+ W_NLCODE();
return chtml50->out;
}
doc = chtml50->doc;
W_L("</h1>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</h2>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</h3>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</h4>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</h5>");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</h6>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
Doc *doc = chtml50->doc;
W_L("</textarea>");
+ W_NLCODE();
chtml50->textarea_flag--;
return chtml50->out;
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("<blockquote>");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</blockquote>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</dir>");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("<dl>");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</dl>");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</marquee>");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</blink>");
+ W_NLCODE();
return chtml50->out;
}
}
}
W_L(">");
+ W_NLCODE();
return chtml50->out;
}
chtml50_t *chtml50 = GET_CHTML50(pdoc);
Doc *doc = chtml50->doc;
W_L("</menu>");
+ W_NLCODE();
return chtml50->out;
}