diff --git a/libraries/Gelato/Minify/MinifyHTML.php b/libraries/Gelato/Minify/MinifyHTML.php
index ba0a6af..57d232b 100644
--- a/libraries/Gelato/Minify/MinifyHTML.php
+++ b/libraries/Gelato/Minify/MinifyHTML.php
@@ -30,7 +30,7 @@ class MinifyHTML
public static function process($html)
{
// Remove HTML comments (not containing IE conditional comments).
- $html = preg_replace_callback('//', 'self::_comments', $html);
+ $html = preg_replace_callback('//', 'MinifyHTML::_comments', $html);
// Trim each line.
$html = preg_replace('/^\\s+|\\s+$/m', '', $html);