Re: Re: DOMDocument throws Unexpected end tag error when loading valid HTML

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

 



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@xxxxxxxx>

>
> In HTML, the "</" sequence closes the <script> element.
> You can escape the "/" character with a backslash:
>
>    <strong>Bold Text<\/strong>,Normal Text
>
>

[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