Jochem Maas wrote:
highlight_string() function might be an easier route?

If I only ever wanted to highlight php it might be.

I found a workaround, though I don't like it.


$dom->formatOutput = false;

to the function and it displays perfectly, though viewing the generated source isn't as nice (hence why I add it only when that function is called).

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to