#! /bin/sh
# Guess values for system-dependent variables and create Makefiles.
-# Generated by GNU Autoconf 2.67 for mod_chxj 0.13.2.
+# Generated by GNU Autoconf 2.67 for mod_chxj 0.13.3rc1.
#
# Report bugs to <konn@users.sourceforge.jp>.
#
# Identity of this package.
PACKAGE_NAME='mod_chxj'
PACKAGE_TARNAME='mod_chxj'
-PACKAGE_VERSION='0.13.2'
-PACKAGE_STRING='mod_chxj 0.13.2'
+PACKAGE_VERSION='0.13.3rc1'
+PACKAGE_STRING='mod_chxj 0.13.3rc1'
PACKAGE_BUGREPORT='konn@users.sourceforge.jp'
PACKAGE_URL=''
# Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF
-\`configure' configures mod_chxj 0.13.2 to adapt to many kinds of systems.
+\`configure' configures mod_chxj 0.13.3rc1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]...
if test -n "$ac_init_help"; then
case $ac_init_help in
- short | recursive ) echo "Configuration of mod_chxj 0.13.2:";;
+ short | recursive ) echo "Configuration of mod_chxj 0.13.3rc1:";;
esac
cat <<\_ACEOF
test -n "$ac_init_help" && exit $ac_status
if $ac_init_version; then
cat <<\_ACEOF
-mod_chxj configure 0.13.2
+mod_chxj configure 0.13.3rc1
generated by GNU Autoconf 2.67
Copyright (C) 2010 Free Software Foundation, Inc.
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
-It was created by mod_chxj $as_me 0.13.2, which was
+It was created by mod_chxj $as_me 0.13.3rc1, which was
generated by GNU Autoconf 2.67. Invocation command line was
$ $0 $@
# Define the identity of the package.
PACKAGE=mod_chxj
- VERSION=0.13.2
+ VERSION=0.13.3rc1
cat >>confdefs.h <<_ACEOF
# report actual input values of CONFIG_FILES etc. instead of their
# values after options handling.
ac_log="
-This file was extended by mod_chxj $as_me 0.13.2, which was
+This file was extended by mod_chxj $as_me 0.13.3rc1, which was
generated by GNU Autoconf 2.67. Invocation command line was
CONFIG_FILES = $CONFIG_FILES
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
ac_cs_version="\\
-mod_chxj config.status 0.13.2
+mod_chxj config.status 0.13.3rc1
configured by $0, generated by GNU Autoconf 2.67,
with options \\"\$ac_cs_config\\"
# -*- Autoconf -*-
# Process this file with autoconf to produce a configure script.
-AC_INIT([mod_chxj],[0.13.2],[konn@users.sourceforge.jp])
+AC_INIT([mod_chxj],[0.13.3rc1],[konn@users.sourceforge.jp])
AC_PREREQ(2.59)
AC_CONFIG_SRCDIR([src/mod_chxj.c])
AC_CANONICAL_TARGET
#define PACKAGE_NAME "mod_chxj"
/* Define to the full name and version of this package. */
-#define PACKAGE_STRING "mod_chxj 0.13.2"
+#define PACKAGE_STRING "mod_chxj 0.13.3rc1"
/* Define to the one symbol short name of this package. */
#define PACKAGE_TARNAME "mod_chxj"
#define PACKAGE_URL ""
/* Define to the version of this package. */
-#define PACKAGE_VERSION "0.13.2"
+#define PACKAGE_VERSION "0.13.3rc1"
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
/* Version number of package */
-#define VERSION "0.13.2"
+#define VERSION "0.13.3rc1"
/* Define to empty if `const' does not conform to ANSI C. */
/* #undef const */
Doc *doc;
Attr *attr;
char *type = NULL;
+ Node *child = NULL;
+ char *style;
ixhtml10 = GET_IXHTML10(pdoc);
doc = ixhtml10->doc;
}
}
- Node *child = qs_get_child_node(doc, node);
- if (type && child) {
- char *name = qs_get_node_name(doc, child);
- if (STRCASEEQ('t','T',"text", name)) {
- char *value = qs_get_node_value(doc, child);
- DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value);
- ixhtml10->style = chxj_css_parse_style_value(doc, ixhtml10->style, value);
- DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value);
+ if (type) {
+ style = "";
+ for (child = qs_get_child_node(doc, node);
+ child;
+ child = qs_get_next_node(doc, child)) {
+ char *name = qs_get_node_name(doc, child);
+ if (STRCASEEQ('t','T',"text", name)) {
+ char *value = qs_get_node_value(doc, child);
+ if (value && *value) {
+ style = apr_pstrcat(doc->r->pool, style, value, NULL);
+ }
+ }
+ }
+ if (strlen(style) > 0) {
+ DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style);
+ ixhtml10->style = chxj_css_parse_style_value(doc, ixhtml10->style, style);
+ DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style);
}
}
return ixhtml10->out;
Doc *doc;
Attr *attr;
char *type = NULL;
+ Node *child = NULL;
+ char *style;
jxhtml = GET_JXHTML(pdoc);
doc = jxhtml->doc;
}
}
- Node *child = qs_get_child_node(doc, node);
- if (type && child) {
- char *name = qs_get_node_name(doc, child);
- if (STRCASEEQ('t','T',"text", name)) {
- char *value = qs_get_node_value(doc, child);
- DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value);
- jxhtml->style = chxj_css_parse_style_value(doc, jxhtml->style, value);
- DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value);
+ if (type) {
+ style = "";
+ for (child = qs_get_child_node(doc, node);
+ child;
+ child = qs_get_next_node(doc, child)) {
+ char *name = qs_get_node_name(doc, child);
+ if (STRCASEEQ('t','T',"text", name)) {
+ char *value = qs_get_node_value(doc, child);
+ if (value && *value) {
+ style = apr_pstrcat(doc->r->pool, style, value, NULL);
+ }
+ }
+ }
+ if (strlen(style) > 0) {
+ DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style);
+ jxhtml->style = chxj_css_parse_style_value(doc, jxhtml->style, style);
+ DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style);
}
}
return jxhtml->out;
Doc *doc;
Attr *attr;
char *type = NULL;
+ Node *child = NULL;
+ char *style;
xhtml = GET_XHTML(pdoc);
doc = xhtml->doc;
}
}
- Node *child = qs_get_child_node(doc, node);
- if (type && child) {
- char *name = qs_get_node_name(doc, child);
- if (STRCASEEQ('t','T',"text", name)) {
- char *value = qs_get_node_value(doc, child);
- DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),value);
- xhtml->style = chxj_css_parse_style_value(doc, xhtml->style, value);
- DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),value);
+ if (type) {
+ style = "";
+ for (child = qs_get_child_node(doc, node);
+ child;
+ child = qs_get_next_node(doc, child)) {
+ char *name = qs_get_node_name(doc, child);
+ if (STRCASEEQ('t','T',"text", name)) {
+ char *value = qs_get_node_value(doc, child);
+ if (value && *value) {
+ style = apr_pstrcat(doc->r->pool, style, value, NULL);
+ }
+ }
+ }
+ if (strlen(style) > 0) {
+ DBG(doc->r,"REQ[%X] start load CSS. buf:[%s]", TO_ADDR(doc->r),style);
+ xhtml->style = chxj_css_parse_style_value(doc, xhtml->style, style);
+ DBG(doc->r,"REQ[%X] end load CSS. value:[%s]", TO_ADDR(doc->r),style);
}
}
return xhtml->out;
-%define version 0.13.2
+%define version 0.13.3rc1
Summary: CHTML to HDML,XHTML,JHTML convert module for Apache HTTPD.
Name: mod_chxj
#
PORTNAME= mod_chxj
-PORTVERSION= 0.13.2
+PORTVERSION= 0.13.3rc1
PORTREVISION= 1
PORTEPOCH= 1
CATEGORIES= www
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_JP:=modchxj/51413/}
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
-DISTNAME= mod-chxj_0.13.2
+DISTNAME= mod-chxj_0.13.3rc1
EXTRACT_SUFX= .src.tar.gz
MAINTAINER= konno@qsdn.co.jp