Re: importNode issue
| From: | Michael A. Peters | Date: | Mon, 25 Jan 2010 10:16:01 +0000 |
| Subject: | Re: importNode issue | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-301403@lists.php.net to get a copy of this message | ||
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).