On 3/6/06, Weber Sites LTD <berber@xxxxxxxxxxxxxxx> wrote: > The only way I could work around this was to put empty <??> at the > Beginning of the text and now highlight_string() highlights only what > Is inside <? ?> > > You can see an example of the problematic text in the example > Area of this page : http://www.weberdev.com/get_example-4345.html > > Notice the empty <? ?> at the beginning of the example. > Without them, all of the example, including the text and HTML > Part will be painted by highlight_string(). > > Is this a bug? No. It will highlight html as well. You can give the illusion of it not highlighting the html by using: ini_set('highlight.html', '#000000'); -- Postgresql & php tutorials http://www.designmagick.com/ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php