From 450f7a7cdd2ffb63ce80af10a2f2a94a4c614f68 Mon Sep 17 00:00:00 2001 From: konn Date: Sat, 14 Jun 2008 18:11:18 +0000 Subject: [PATCH] * delete font tag handler from CHTML1.0 converter. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/sandbox@2714 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- src/chxj_chtml10.c | 44 ++------------------------------------------ 1 file changed, 2 insertions(+), 42 deletions(-) diff --git a/src/chxj_chtml10.c b/src/chxj_chtml10.c index 81b54064..64d0483b 100644 --- a/src/chxj_chtml10.c +++ b/src/chxj_chtml10.c @@ -75,8 +75,6 @@ static char *s_chtml10_start_br_tag (void *pdoc, Node *node); static char *s_chtml10_end_br_tag (void *pdoc, Node *node); static char *s_chtml10_start_tr_tag (void *pdoc, Node *node); static char *s_chtml10_end_tr_tag (void *pdoc, Node *node); -static char *s_chtml10_start_font_tag (void *pdoc, Node *node); -static char *s_chtml10_end_font_tag (void *pdoc, Node *node); static char *s_chtml10_start_input_tag (void *pdoc, Node *node); static char *s_chtml10_end_input_tag (void *pdoc, Node *node); static char *s_chtml10_start_form_tag (void *pdoc, Node *node); @@ -239,8 +237,8 @@ tag_handler chtml10_handler[] = { }, /* tagFONT */ { - s_chtml10_start_font_tag, - s_chtml10_end_font_tag, + NULL, + NULL, }, /* tagFORM */ { @@ -1768,44 +1766,6 @@ s_chtml10_end_tr_tag(void *pdoc, Node *UNUSED(child)) /** - * It is a handler who processes the FONT tag. - * - * @param pdoc [i/o] The pointer to the CHTML structure at the output - * destination is specified. - * @param node [i] The FONT tag node is specified. - * @return The conversion result is returned. - */ -static char * -s_chtml10_start_font_tag(void *pdoc, Node *UNUSED(node)) -{ - chtml10_t *chtml10 = GET_CHTML10(pdoc); - - /* Ignore */ - - return chtml10->out; -} - - -/** - * It is a handler who processes the FONT tag. - * - * @param pdoc [i/o] The pointer to the CHTML structure at the output - * destination is specified. - * @param node [i] The FONT tag node is specified. - * @return The conversion result is returned. - */ -static char * -s_chtml10_end_font_tag(void *pdoc, Node *UNUSED(child)) -{ - chtml10_t *chtml10 = GET_CHTML10(pdoc); - - /* ignore */ - - return chtml10->out; -} - - -/** * It is a handler who processes the FORM tag. * * @param pdoc [i/o] The pointer to the CHTML structure at the output -- 2.11.0