Plugin Directory

Changeset 1167884


Ignore:
Timestamp:
05/26/2015 06:18:30 PM (11 years ago)
Author:
mainehost
Message:

Updating 1.3.1

Location:
seo-enforcer
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • seo-enforcer/tags/1.3.1/seoe.php

    r1167880 r1167884  
    408408                    $html = preg_replace('/^<!DOCTYPE.+?>/','', $doc->saveHTML());
    409409                    $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;
    416415        }
    417416        /**
  • seo-enforcer/trunk/seoe.php

    r1167880 r1167884  
    408408                    $html = preg_replace('/^<!DOCTYPE.+?>/','', $doc->saveHTML());
    409409                    $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;
    416415        }
    417416        /**
Note: See TracChangeset for help on using the changeset viewer.