OSDN Git Service

* delete new line code.
authorkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Tue, 29 Apr 2008 10:28:25 +0000 (10:28 +0000)
committerkonn <konn@1a406e8e-add9-4483-a2c8-d8cac5b7c224>
Tue, 29 Apr 2008 10:28:25 +0000 (10:28 +0000)
git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_12_0@2558 1a406e8e-add9-4483-a2c8-d8cac5b7c224

src/chxj_chtml10.c
src/chxj_chtml20.c
src/chxj_jhtml.c
src/chxj_jxhtml.c
src/chxj_xhtml_mobile_1_0.c

index ab4d193..77e1676 100644 (file)
@@ -1728,7 +1728,7 @@ s_chtml10_end_tr_tag(void *pdoc, Node *UNUSED(child))
   doc     = chtml10->doc;
   r       = doc->r;
 
-  W_L("<br>\r\n");
+  W_L("<br>");
 
   return chtml10->out;
 }
index 296e8ed..8581754 100644 (file)
@@ -1302,7 +1302,7 @@ s_chtml20_end_tr_tag(void *pdoc, Node *UNUSED(child))
   doc     = chtml20->doc;
   r       = doc->r;
 
-  W_L("<br>\r\n");
+  W_L("<br>");
   return chtml20->out;
 }
 
index 6c3229c..ec5c832 100644 (file)
@@ -1227,7 +1227,7 @@ s_jhtml_start_tr_tag(void *pdoc, Node *UNUSED(node))
   doc   = jhtml->doc;
   r     = doc->r;
 
-  W_L("<br>\r\n");
+  W_L("<br>");
   return jhtml->out;
 }
 
@@ -2493,7 +2493,7 @@ s_jhtml_end_b_tag(void* pdoc, Node* UNUSED(child))
   jhtml_t*      jhtml = GET_JHTML(pdoc);
   Doc*          doc   = jhtml->doc;
 
-  W_L("</b>\r\n");
+  W_L("</b>");
   return jhtml->out;
 }
 
index eb94561..1c3dd64 100644 (file)
@@ -605,7 +605,7 @@ s_jxhtml_start_html_tag(void *pdoc, Node *UNUSED(node))
   /*--------------------------------------------------------------------------*/
   /* start HTML tag                                                           */
   /*--------------------------------------------------------------------------*/
-  W_L("<html version=\"1.0\">");
+  W_L("<html>");
 
   DBG(r, "end s_jxhtml_start_html_tag()");
 
@@ -2540,7 +2540,7 @@ s_jxhtml_end_b_tag(void* pdoc, Node* UNUSED(child))
   jxhtml_t*      jxhtml = GET_JXHTML(pdoc);
   Doc*          doc   = jxhtml->doc;
 
-  W_L("</b>\r\n");
+  W_L("</b>");
   return jxhtml->out;
 }
 
index cf063eb..39c0258 100644 (file)
@@ -654,12 +654,12 @@ s_xhtml_1_0_start_html_tag(void *pdoc, Node *node)
   /*--------------------------------------------------------------------------*/
   /* Add XML Declare                                                          */
   /*--------------------------------------------------------------------------*/
-  W_L("<?xml version=\"1.0\" encoding=\"Windows-31J\"?>\r\n");
+  W_L("<?xml version=\"1.0\" encoding=\"Windows-31J\"?>");
   /*--------------------------------------------------------------------------*/
   /* Add DocType                                                              */
   /*--------------------------------------------------------------------------*/
-  W_L("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Basic 1.0//EN\"\r\n");
-  W_L(" \"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd\">\r\n");
+  W_L("<!DOCTYPE html PUBLIC \"-//W3C//DTD XHTML Basic 1.0//EN\"");
+  W_L(" \"http://www.w3.org/TR/xhtml-basic/xhtml-basic10.dtd\">");
   /*--------------------------------------------------------------------------*/
   /* start HTML tag                                                           */
   /*--------------------------------------------------------------------------*/
@@ -681,7 +681,7 @@ s_xhtml_1_0_start_html_tag(void *pdoc, Node *node)
       W_L(" version=\"-//OPENWAVE//DTD XHTML Mobile 1.0//EN\"");
     }
   }
-  W_L(">\r\n");
+  W_L(">");
   return xhtml->out;
 }
 
@@ -699,7 +699,7 @@ s_xhtml_1_0_end_html_tag(void *pdoc, Node *UNUSED(child))
 {
   xhtml_t       *xhtml = GET_XHTML(pdoc);
   Doc           *doc   = xhtml->doc;
-  W_L("</html>\r\n");
+  W_L("</html>");
   return xhtml->out;
 }
 
@@ -763,7 +763,7 @@ s_xhtml_1_0_start_meta_tag(void *pdoc, Node *node)
       }
     }
   }
-  W_L(" />\r\n");
+  W_L(" />");
   return xhtml->out;
 }
 
@@ -799,7 +799,7 @@ s_xhtml_1_0_start_head_tag(void *pdoc, Node *UNUSED(node))
   xhtml_t       *xhtml = GET_XHTML(pdoc);
   Doc           *doc   = xhtml->doc;
 
-  W_L("<head>\r\n");
+  W_L("<head>");
   return xhtml->out;
 }
 
@@ -818,7 +818,7 @@ s_xhtml_1_0_end_head_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t       *xhtml = GET_XHTML(pdoc);
   Doc           *doc   = xhtml->doc;
 
-  W_L("</head>\r\n");
+  W_L("</head>");
   return xhtml->out;
 }
 
@@ -856,7 +856,7 @@ s_xhtml_1_0_end_title_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t       *xhtml = GET_XHTML(pdoc);
   Doc           *doc   = xhtml->doc;
 
-  W_L("</title>\r\n");
+  W_L("</title>");
   return xhtml->out;
 }
 
@@ -892,7 +892,7 @@ s_xhtml_1_0_start_base_tag(void *pdoc, Node *node)
       break;
     }
   }
-  W_L(" />\r\n");
+  W_L(" />");
   return xhtml->out;
 }
 
@@ -960,7 +960,7 @@ s_xhtml_1_0_start_body_tag(void *pdoc, Node *node)
       /* ignore */
     }
   }
-  W_L(">\r\n");
+  W_L(">");
   return xhtml->out;
 }
 
@@ -979,7 +979,7 @@ s_xhtml_1_0_end_body_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t       *xhtml = GET_XHTML(pdoc);
   Doc           *doc   = xhtml->doc;
 
-  W_L("</body>\r\n");
+  W_L("</body>");
   return xhtml->out;
 }
 
@@ -1112,7 +1112,7 @@ s_xhtml_1_0_start_br_tag(void *pdoc, Node *node)
       }
     }
   }
-  W_L(" />\r\n");
+  W_L(" />");
   return xhtml->out;
 }
 
@@ -1148,7 +1148,7 @@ s_xhtml_1_0_start_tr_tag(void *pdoc, Node *UNUSED(node))
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
 
-  W_L("<br />\r\n");
+  W_L("<br />");
   return xhtml->out;
 }
 
@@ -2444,7 +2444,7 @@ s_xhtml_1_0_start_select_tag(void *pdoc, Node *child)
     /* "true" is *NOT* W3C. it is specification of WAP2.0 for EZWEB */
     W_L(" multiple=\"true\"");
   }
-  W_L(">\r\n");
+  W_L(">");
   return xhtml->out;
 }
 
@@ -2463,7 +2463,7 @@ s_xhtml_1_0_end_select_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
 
-  W_L("</select>\r\n");
+  W_L("</select>");
   return xhtml->out;
 }
 
@@ -2528,7 +2528,7 @@ s_xhtml_1_0_end_option_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
 
-  W_L("</option>\r\n");
+  W_L("</option>");
   return xhtml->out;
 }
 
@@ -2587,7 +2587,7 @@ s_xhtml_1_0_end_div_tag(void *pdoc, Node *UNUSED(child))
 {
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
-  W_L("</div>\r\n");
+  W_L("</div>");
   return xhtml->out;
 }
 
@@ -2625,7 +2625,7 @@ s_xhtml_1_0_end_b_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
 
-  W_L("</div>\n");
+  W_L("</div>");
   return xhtml->out;
 }
 
@@ -2704,7 +2704,7 @@ s_xhtml_1_0_start_textarea_tag(void *pdoc, Node *node)
       W_L("\"");
     }
   }
-  W_L(">\r\n");
+  W_L(">");
   return xhtml->out;
 }
 
@@ -2723,7 +2723,7 @@ s_xhtml_1_0_end_textarea_tag(void *pdoc, Node *UNUSED(child))
   xhtml_t *xhtml = GET_XHTML(pdoc);
   Doc     *doc   = xhtml->doc;
 
-  W_L("</textarea>\r\n");
+  W_L("</textarea>");
   xhtml->textarea_flag--;
 
   return xhtml->out;