#undef W_V
#define W_L(X) do { chtml30->out = BUFFERED_WRITE_LITERAL(chtml30->out, &doc->buf, (X)); } while(0)
#define W_V(X) do { chtml30->out = (X) ? BUFFERED_WRITE_VALUE(chtml30->out, &doc->buf, (X)) \
- : BUFFERED_WRITE_LITERAL(chtml30->out, &doc->buf, ""); } while(0)
+ : BUFFERED_WRITE_LITERAL(chtml30->out, &doc->buf, ""); } while(0)
extern tag_handler chtml20_handler[];
static char *s_chtml30_start_html_tag (void *pdoc, Node *node);
* @param node [i] The FORM tag node is specified.
* @return The conversion result is returned.
*/
-static char*
-s_chtml30_start_form_tag(void* pdoc, Node* node)
+static char *
+s_chtml30_start_form_tag(void *pdoc, Node *node)
{
- chtml30_t* chtml30;
- Doc* doc;
- request_rec* r;
- Attr* attr;
+ chtml30_t *chtml30;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml30 = GET_CHTML30(pdoc);
doc = chtml30->doc;
r = doc->r;
W_L("<form");
-
/*--------------------------------------------------------------------------*/
/* Get Attributes */
/*--------------------------------------------------------------------------*/
for (attr = qs_get_attr(doc,node);
attr;
attr = qs_get_next_attr(doc,attr)) {
-
- char* name;
- char* value;
-
- name = qs_get_attr_name(doc,attr);
- value = qs_get_attr_value(doc,attr);
-
+ char *name = qs_get_attr_name(doc,attr);
+ char *value = qs_get_attr_value(doc,attr);
if (STRCASEEQ('a','A',"action", name)) {
/*----------------------------------------------------------------------*/
/* CHTML 1.0 */
/* CHTML 3.0 */
/* It is special only for CHTML. */
/*----------------------------------------------------------------------*/
- W_L(" utn ");
+ W_L(" utn");
}
}
-
W_L(">");
-
return chtml30->out;
}
#ifndef IMG_NOT_CONVERT_FILENAME
device_table *spec;
#endif
- chtml30_t *chtml30;
- Doc *doc;
- request_rec *r;
- Attr *attr;
+ chtml30_t *chtml30;
+ Doc *doc;
+ request_rec *r;
+ Attr *attr;
chtml30 = GET_CHTML30(pdoc);
doc = chtml30->doc;
attr = qs_get_next_attr(doc,attr)) {
char* nm = qs_get_attr_name(doc,attr);
char* val = qs_get_attr_value(doc,attr);
-
if (STRCASEEQ('s','S',"size", nm)) {
/*----------------------------------------------------------------------*/
/* CHTML 1.0 version 2.0 */
/**
- * It is a handter who processes the DT tag.
+ * It is a handler who processes the DT tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a handter who processes the DT tag.
+ * It is a handler who processes the DT tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a handder who processes the DD tag.
+ * It is a handler who processes the DD tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a handder who processes the DD tag.
+ * It is a handler who processes the DD tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a hanmarqueeer who processes the MARQUEE tag.
+ * It is a handler who processes the MARQUEE tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a hanmarqueeer who processes the MARQUEE tag.
+ * It is a handler who processes the MARQUEE tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a hanmenuer who processes the MENU tag.
+ * It is a handler who processes the MENU tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a hanplaintexter who processes the PLAINTEXT tag.
+ * It is a handler who processes the PLAINTEXT tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.
/**
- * It is a hanplaintexter who processes the PLAINTEXT tag.
+ * It is a handler who processes the PLAINTEXT tag.
*
* @param pdoc [i/o] The pointer to the CHTML structure at the output
* destination is specified.