From: konn Date: Thu, 24 Apr 2008 10:09:31 +0000 (+0000) Subject: * Added
attribute for CHTML4.0 converter. X-Git-Tag: v0.12.20~345 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=9825f6eddd163cf246141806f18d62320f31b0f6;p=modchxj%2Fmod_chxj.git * Added
attribute for CHTML4.0 converter. git-svn-id: svn+ssh://svn.sourceforge.jp/svnroot/modchxj/mod_chxj/branches/RELEASE_0_12_0@2453 1a406e8e-add9-4483-a2c8-d8cac5b7c224 --- diff --git a/src/chxj_chtml40.c b/src/chxj_chtml40.c index 3f2b4904..75864d04 100644 --- a/src/chxj_chtml40.c +++ b/src/chxj_chtml40.c @@ -1591,11 +1591,13 @@ s_chtml40_start_hr_tag(void *pdoc, Node *node) /*----------------------------------------------------------------------*/ W_L(" noshade"); } - else if (STRCASEEQ('c','C',"color", name)) { + else if (STRCASEEQ('c','C',"color", name) && value && *value) { /*----------------------------------------------------------------------*/ /* CHTML 4.0 */ /*----------------------------------------------------------------------*/ - /* ignore */ + W_L(" color=\""); + W_V(value); + W_L("\""); } } W_L(">");