Changeset 10266 in spip-zone


Ignore:
Timestamp:
Mar 9, 2007, 1:31:51 PM (14 years ago)
Author:
cedric@…
Message:

"enlever les commentaires html pour l'analyse"

File:
1 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_stable_/w3c_go_home/validateur/apinc.php

    r10012 r10266  
    174174$html=implode ('', file ($adresse_base));
    175175}
     176// enlever les commentaires html, ca allege l'analyse surtout si du javascript embarque
     177$html = preg_replace(",<!--.*-->,Ums","",$html);
    176178        $htp=$html;
    177179        $html=htmlentities($html);
Note: See TracChangeset for help on using the changeset viewer.