Re: importNode issue
am 25.01.2010 11:16:01 von Michael PetersJochem 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