Thread:Extension talk:HTMLets/Deprecated: preg replace(): The /e modifier is deprecated, use preg replace callback instead

Not sure if this is proper, but here is how I fixed it: diff HTMLets.php HTMLets.php.org 133,137c133,135 <      $text = preg_replace_callback( <               '//sm', <               function ($m) { <                       return base64_decode("$m[1]"); <               }, --- >       $text = preg_replace( >              '//esm', >              'base64_decode("$1")', If anyone has a better solution, please post it. Thank you! Reverse Corruption