From ec8b6fb1dc4c44b95463164349b575e33759cba3 Mon Sep 17 00:00:00 2001 From: konn Date: Fri, 18 Apr 2008 10:51:53 +0000 Subject: [PATCH] * Added tag for SoftBank HTML converter. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_11_0@2387 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- src/chxj_jhtml.c | 66 ++++++++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 64 insertions(+), 2 deletions(-) diff --git a/src/chxj_jhtml.c b/src/chxj_jhtml.c index 0600aea7..2d7f9dad 100644 --- a/src/chxj_jhtml.c +++ b/src/chxj_jhtml.c @@ -112,6 +112,8 @@ static char *s_jhtml_start_plaintext_tag_inner (void *pdoc, Node *node); static char *s_jhtml_end_plaintext_tag (void *pdoc, Node *node); static char *s_jhtml_start_blink_tag (void *pdoc, Node *node); static char *s_jhtml_end_blink_tag (void *pdoc, Node *node); +static char *s_jhtml_start_marquee_tag(void *pdoc, Node *node); +static char *s_jhtml_end_marquee_tag (void *pdoc, Node *node); static void s_init_jhtml(jhtml_t *jhtml, Doc *doc, request_rec *r, device_table *spec); @@ -384,8 +386,8 @@ tag_handler jhtml_handler[] = { }, /* tagMARQUEE */ { - NULL, - NULL, + s_jhtml_start_marquee_tag, + s_jhtml_end_marquee_tag, }, }; @@ -3283,6 +3285,66 @@ s_jhtml_end_blink_tag(void *pdoc, Node *UNUSED(child)) W_L(""); return jhtml->out; } + + +/** + * It is a handler who processes the MARQUEE tag. + * + * @param pdoc [i/o] The pointer to the JHTML structure at the output + * destination is specified. + * @param node [i] The MARQUEE tag node is specified. + * @return The conversion result is returned. + */ +static char * +s_jhtml_start_marquee_tag(void *pdoc, Node *node) +{ + jhtml_t *jhtml = GET_JHTML(pdoc); + Doc *doc = jhtml->doc; + Attr *attr; + W_L(""); + return jhtml->out; +} + + +/** + * It is a handler who processes the MARQUEE tag. + * + * @param pdoc [i/o] The pointer to the JHTML structure at the output + * destination is specified. + * @param node [i] The MARQUEE tag node is specified. + * @return The conversion result is returned. + */ +static char * +s_jhtml_end_marquee_tag(void *pdoc, Node *UNUSED(child)) +{ + jhtml_t *jhtml = GET_JHTML(pdoc); + Doc *doc = jhtml->doc; + W_L(""); + return jhtml->out; +} /* * vim:ts=2 et */ -- 2.11.0