src/chxj_hdml.c
/**
 * It is a handler who processes the DIV tag.
 *
 * @param pdoc   [i/o] The pointer to the HDML structure at the output
 *                     destination is specified.
 * @param node   [i]   The DIV tag node is specified.
 * @return The conversion result is returned.
 */
It is a handler who processes the DIV tag.
@param pdoc   [i/o] The pointer to the HDML structure at the output
destination is specified.
@param node   [i]   The DIV tag node is specified.
@return The conversion result is returned.
It is a handler who processes the DIV tag . @param pdoc [ i / o ] The pointer to the HDML structure at the output destination is specified . @param node [ i ] The DIV tag node is specified . @return The conversion result is returned .
static char *
s_hdml_end_div_tag(void *pdoc,  Node *UNUSED(node))
{
  hdml_t       *hdml = GET_HDML(pdoc);
  request_rec  *r    = hdml->doc->r;
  if (hdml->div_right_flag == 1) {
    s_output_to_hdml_out(hdml, apr_psprintf(r->pool, "<BR>\r\n"));
    hdml->div_right_flag = 0;
  }
  if (hdml->div_center_flag == 1) {
    s_output_to_hdml_out(hdml, apr_psprintf(r->pool, "<BR>\r\n"));
    hdml->div_center_flag = 0;
    hdml->div_in_center   = 0;
  }
  return hdml->out;
}
static char * s_hdml_end_div_tag ( void * pdoc , Node * UNUSED ( node ) ) { hdml_t * hdml = GET_HDML ( pdoc ) ; request_rec * r = hdml -> doc -> r ; if ( hdml -> div_right_flag == 1 ) { s_output_to_hdml_out ( hdml , apr_psprintf ( r -> pool , " \r \n " ) ) ; hdml -> div_right_flag = 0 ; } if ( hdml -> div_center_flag == 1 ) { s_output_to_hdml_out ( hdml , apr_psprintf ( r -> pool , " \r \n " ) ) ; hdml -> div_center_flag = 0 ; hdml -> div_in_center = 0 ; } return hdml -> out ; }
It is a handler who processes the DIV tag.
It is a handler who processes the DIV tag .