cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Colortext.php
| From: | bertrand GUGGER | Date: | Fri, 29 Jul 2005 13:29:58 +0000 |
| Subject: | cvs: pear /Text_Wiki/Text/Wiki/Render/Xhtml Colortext.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-33457@lists.php.net to get a copy of this message | ||
toggg Fri Jul 29 09:29:58 2005 EDT
Modified files:
/pear/Text_Wiki/Text/Wiki/Render/Xhtml Colortext.php
Log:
Synch back justin's commit in tikiwiki
http://cvs.php.net/diff.php/pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php?r1=1.4&r2=1.5&ty=u
Index: pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php
diff -u pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php:1.4
pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php:1.5
--- pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php:1.4 Tue Jul 20 11:53:01 2004
+++ pear/Text_Wiki/Text/Wiki/Render/Xhtml/Colortext.php Fri Jul 29 09:29:56 2005
@@ -40,7 +40,7 @@
$type = $options['type'];
$color = $options['color'];
- if (! in_array($color, $this->colors)) {
+ if (! in_array($color, $this->colors) && $color{0} != '#') {
$color = '#' . $color;
}
@@ -53,4 +53,4 @@
}
}
}
-?>
\ No newline at end of file
+?>