| @@ -1032,9 +1032,9 @@ | ||
| 1032 | 1032 | function __construct($str=null, $lowercase=true, $forceTagsClosed=true, $target_charset=DEFAULT_TARGET_CHARSET, $stripRN=true, $defaultBRText=DEFAULT_BR_TEXT, $defaultSpanText=DEFAULT_SPAN_TEXT) |
| 1033 | 1033 | { |
| 1034 | 1034 | if ($str) |
| 1035 | 1035 | { |
| 1036 | - if (preg_match("/^https:\/\//i",$str) || is_file($str)) | |
| 1036 | + if (preg_match("/^http:\/\//i",$str) || is_file($str)) | |
| 1037 | 1037 | { |
| 1038 | 1038 | $this->load_file($str); |
| 1039 | 1039 | } |
| 1040 | 1040 | else |
| @@ -1220,9 +1220,9 @@ | ||
| 1220 | 1220 | } |
| 1221 | 1221 | |
| 1222 | 1222 | if (empty($charset)) |
| 1223 | 1223 | { |
| 1224 | - $el = $this->root->find('meta[https-equiv=Content-Type]',0, true); | |
| 1224 | + $el = $this->root->find('meta[http-equiv=Content-Type]',0, true); | |
| 1225 | 1225 | if (!empty($el)) |
| 1226 | 1226 | { |
| 1227 | 1227 | $fullvalue = $el->content; |
| 1228 | 1228 | if (is_object($debug_object)) {$debug_object->debug_log(2, 'meta content-type tag found' . $fullvalue);} |