Révision c9e51f47
Ajouté par Julien Enselme il y a environ 7 ans
drupal7/modules/filter/filter.module | ||
---|---|---|
1638 | 1638 |
// Replace all HTML coments with a '<!-- [hash] -->' placeholder. |
1639 | 1639 |
if ($mode) { |
1640 | 1640 |
$content = $match[1]; |
1641 |
$hash = md5($content);
|
|
1641 |
$hash = hash('sha256', $content);
|
|
1642 | 1642 |
$comments[$hash] = $content; |
1643 | 1643 |
return "<!-- $hash -->"; |
1644 | 1644 |
} |
Formats disponibles : Unified diff
Udpate to 7.54