[interchange-cvs] interchange - heins modified code/SystemTag/warnings.coretag

interchange-cvs at icdevgroup.org interchange-cvs at icdevgroup.org
Sun Feb 22 15:14:08 EST 2004


User:      heins
Date:      2004-02-22 20:14:08 GMT
Modified:  code/SystemTag warnings.coretag
Log:
* The tag required the somewhat obtuse setting:

	list-style='style="color: red"'

  We still honor that, but also do:

  	list-style="color: red"

  Still don't know why style="color: red" is not used.

Revision  Changes    Path
1.5       +6 -1      interchange/code/SystemTag/warnings.coretag


rev 1.5, prev_rev 1.4
Index: warnings.coretag
===================================================================
RCS file: /var/cvs/interchange/code/SystemTag/warnings.coretag,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- warnings.coretag	7 Dec 2003 13:44:32 -0000	1.4
+++ warnings.coretag	22 Feb 2004 20:14:08 -0000	1.5
@@ -19,7 +19,12 @@
 		$out .= "<$opt->{list_container}";
 		for(qw/ class style extra /) {
 			next unless $opt->{"list_$_"};
-			$out .= ' ' . $opt->{"list_$_"};
+			if($opt->{"list_$_"} =~ m{^\s*$_\s*=}i) {
+				$out .= ' ' . $opt->{"list_$_"};
+			}
+			else {
+				$out .= qq{ $_="$opt->{"list_$_"}"};
+			}
 		}
 		$out .= '>';
 		$opt->{joiner} = '<li>'








More information about the interchange-cvs mailing list