On 11/14/05, Roger Ineichen <[EMAIL PROTECTED]> wrote:
> This is a bug, please add a issue to the bugtracker!
> The parser engine tries to interprete the <div> tag.

Though this is most certainly a contentious feature, this is not a bug
in the parser, but a bug in the template itself.  The parser is a bit
stricter than most browsers.  If you don't agree, please read the HTML
4.01 specification very carefully before following up; this has been
discussed to death many times.

> I guess the normal hacks used in onther script languages will
> work. Try this:
> <script type="text/javascript">
>    <!--
>    document.write('<d'+'iv id="LOADING_DOCUMENT_HINT">Loading document.
> Please be patient...</d'+'iv>');
>    //-->
> </script>

No, that won't work; the *template* still has the same bug.  Try this:

<script type="text/javascript">
   document.write('<'+'div id="LOADING_DOCUMENT_HINT">Loading document.
Please be patient...<'+'/div>');

(Note that the break introduced in the script source is between the
"<" and the next character.)


Fred L. Drake, Jr.    <fdrake at gmail.com>
"Society attacks early, when the individual is helpless." --B.F. Skinner
Zope3-dev mailing list
Unsub: http://mail.zope.org/mailman/options/zope3-dev/archive%40mail-archive.com

Reply via email to