[Zope3-checkins] SVN: Zope3/trunk/src/zope/app/boston/browser/template.pt add a comment explaining that the separate end tag for <script> is

Fred L. Drake, Jr. fdrake at gmail.com
Wed Mar 9 10:06:04 EST 2005


Log message for revision 29423:
  add a comment explaining that the separate end tag for <script> is
  necessary
  

Changed:
  U   Zope3/trunk/src/zope/app/boston/browser/template.pt

-=-
Modified: Zope3/trunk/src/zope/app/boston/browser/template.pt
===================================================================
--- Zope3/trunk/src/zope/app/boston/browser/template.pt	2005-03-09 14:51:09 UTC (rev 29422)
+++ Zope3/trunk/src/zope/app/boston/browser/template.pt	2005-03-09 15:06:03 UTC (rev 29423)
@@ -1,4 +1,4 @@
-<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
+<metal:block define-macro="page"><metal:block define-slot="doctype"><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></metal:block>
 
 <html xmlns="http://www.w3.org/1999/xhtml" 
       xml:lang="en" lang="en" 
@@ -14,6 +14,9 @@
   <!-- move this javascript to a pagelet -->
   <script type="text/javascript" src="boston.js"
           tal:attributes="src string:${context/++resource++boston.js}">
+    <!-- Using a separate end tag instead of a single empty tag is
+         necessary to support some browsers (Firefox 1.0, for example).
+         -->
   </script>
 
   <style type="text/css" media="all" 



More information about the Zope3-Checkins mailing list