Re: [PATCH][ZE2] zend_highlight.c <font> change
| From: | Curt Zirzow | Date: | Wed, 29 Oct 2003 16:14:05 +0000 |
| Subject: | Re: [PATCH][ZE2] zend_highlight.c <font> change | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-5070@lists.php.net to get a copy of this message | ||
* Thus wrote Lisa Seelye (lisa@gentoo.org):
> Attached is a patch to change the behavior of source highlighting
> functions to use <span style="color"> instead of <font
> color="color">.
> This patch also introduces \n and \t when the parser encounters one
> (this change is mainly for readability).
Slight problem with:
zend_printf("<span style=\"color: %s;\">\n", last_color);
Although it is a much more elegant solution. Some people consider
inline style attributes bad.
Curt
--
"I used to think I was indecisive, but now I'm not so sure."