cvs: pear /HTML_Page2 Page2.php
| From: | Klaus Guenther | Date: | Mon, 07 Jun 2004 19:48:00 +0000 |
| Subject: | cvs: pear /HTML_Page2 Page2.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-20331@lists.php.net to get a copy of this message | ||
thesaur Mon Jun 7 15:48:00 2004 EDT
Modified files:
/pear/HTML_Page2 Page2.php
Log:
Fix javascript declaration
http://cvs.php.net/diff.php/pear/HTML_Page2/Page2.php?r1=1.6&r2=1.7&ty=u
Index: pear/HTML_Page2/Page2.php
diff -u pear/HTML_Page2/Page2.php:1.6 pear/HTML_Page2/Page2.php:1.7
--- pear/HTML_Page2/Page2.php:1.6 Tue Apr 20 19:54:48 2004
+++ pear/HTML_Page2/Page2.php Mon Jun 7 15:48:00 2004
@@ -17,7 +17,7 @@
// | Klaus Guenther <klaus@capitalfocus.org> |
// +----------------------------------------------------------------------+
//
-// $Id: Page2.php,v 1.6 2004/04/20 23:54:48 thesaur Exp $
+// $Id: Page2.php,v 1.7 2004/06/07 19:48:00 thesaur Exp $
/**
* The PEAR::HTML_Page2 package provides a simple interface for generating an XHTML compliant page
@@ -672,7 +672,7 @@
// This is for full XHTML support.
if ($this->_mime == 'text/html' ) {
- $strHtml .= $tab . $tab . '<!--' . $lnEnd;
+ $strHtml .= $tab . $tab . '// <!--' . $lnEnd;
} else {
$strHtml .= $tab . $tab . '<![CDATA[' . $lnEnd;
}
@@ -700,9 +700,9 @@
// See above note
if ($this->_mime == 'text/html' ) {
- $strHtml .= $tab . $tab . '//-->' . $lnEnd;
+ $strHtml .= $tab . $tab . '// -->' . $lnEnd;
} else {
- $strHtml .= $tab . $tab . ']]>' . $lnEnd;
+ $strHtml .= $tab . $tab . '// ]]>' . $lnEnd;
}
$strHtml .= $tab . '</script>' . $lnEnd;
}