3 class Text_Wiki_Render_Xhtml_Colortext
extends Text_Wiki_Render
{
27 * Renders a token into text matching the requested format.
31 * @param array $options The "options" portion of the token (second
34 * @return string The text rendered from the token options.
38 function token($options)
40 $type = $options['type'];
41 $color = $options['color'];
43 if (! in_array($color, $this->colors
)) {
44 $color = '#' . $color;
47 if ($type == 'start') {
48 return "<span style=\"color: $color;\">";
51 if ($options['type'] == 'end') {