Re: Re: DOMDocument throws Unexpected end tag error when loading valid HTML
| From: | Raymond Irving | Date: | Mon, 07 Jun 2010 19:42:22 +0000 |
| Subject: | Re: Re: DOMDocument throws Unexpected end tag error when loading valid HTML | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-305912@lists.php.net to get a copy of this message | ||
Thanks Nisse. This works great!
I just wish the HTML DOM parser could just ignore the contents of the
<script> tags. It would have made life so much easier for developers working
with the DOM.
Best regards,
__
Raymond Irving
2010/6/7 Nisse Engström <news.NOSPAM.0ixbtqKe@luden.se>
>
> In HTML, the "</" sequence closes the <script> element.
> You can escape the "/" character with a backslash:
>
> <strong>Bold Text<\/strong>,Normal Text
>
>