Re: importNode issue

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
Michael Peters [ Mo, 25 Januar 2010 11:16 ] [ ID #2030152 ]
PHP » gmane.comp.php.general » Re: importNode issue

Vorheriges Thema: Cookies & sessions
Nächstes Thema: Users, groups, and permissions