Changeset 1167884
- Timestamp:
- 05/26/2015 06:18:30 PM (11 years ago)
- Location:
- seo-enforcer
- Files:
-
- 2 edited
-
tags/1.3.1/seoe.php (modified) (1 diff)
-
trunk/seoe.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
seo-enforcer/tags/1.3.1/seoe.php
r1167880 r1167884 408 408 $html = preg_replace('/^<!DOCTYPE.+?>/','', $doc->saveHTML()); 409 409 $html = str_replace(array('<html>','</html>','<body>','</body>'), array('','','',''), $html); 410 return $html; 411 } 412 } 413 else { 414 return $content; 415 } 410 $content = $html; 411 } 412 } 413 414 return $content; 416 415 } 417 416 /** -
seo-enforcer/trunk/seoe.php
r1167880 r1167884 408 408 $html = preg_replace('/^<!DOCTYPE.+?>/','', $doc->saveHTML()); 409 409 $html = str_replace(array('<html>','</html>','<body>','</body>'), array('','','',''), $html); 410 return $html; 411 } 412 } 413 else { 414 return $content; 415 } 410 $content = $html; 411 } 412 } 413 414 return $content; 416 415 } 417 416 /**
Note: See TracChangeset
for help on using the changeset viewer.