Re: importNode issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

add

$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 (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux