[PATCH][ZE2] zend_highlight.c <font> change
| From: | Lisa Seelye | Date: | Tue, 28 Oct 2003 19:39:14 +0000 |
| Subject: | [PATCH][ZE2] zend_highlight.c <font> change | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-5047@lists.php.net to get a copy of this message | ||
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).
The reasoning is: the <font> tag is depreciated[1], and \n and \t should
be preserved, and not just translated into <br /> and 's
(respectively).
[1]: http://www.w3.org/TR/html4/present/graphics.html#edef-FONT
Please CC me on replies.
--
Regards,
-Lisa
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>
Attachment: [text/x-patch] zend_highlight.c.diff
Attachment: [text/x-patch] zend_highlight.c.diff