Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Thursday, October 15, 2026

Diff for phpPlatonLib/HTML_Content/Content.php between version 1.18 and 1.19

version 1.18, 2003/05/29 00:28:39 version 1.19, 2003/08/19 10:19:48
Line 166  class HTML_Content
Line 166  class HTML_Content
                 $this->_data['body_attr'] = '';                  $this->_data['body_attr'] = '';
                 ! isset($this->_content_type) && $this->_content_type = 'text/html';                  ! isset($this->_content_type) && $this->_content_type = 'text/html';
   
                   if (strncasecmp($this->_content_type, 'text/html', 9)) {
                           $this->_data['body'] = $all_data;
                           return true;
                   }
   
                 if (preg_match('|^\s*<!DOCTYPE ([^>]*)>|', $all_data, $matches)) {                  if (preg_match('|^\s*<!DOCTYPE ([^>]*)>|', $all_data, $matches)) {
                         $this->_data['doctype'] = trim($matches[1]);                          $this->_data['doctype'] = trim($matches[1]);
                 }                  }

Legend:
Removed from v.1.18  
changed lines
  Added in v.1.19

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top