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