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