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
Topic on Extension talk:HTMLets
how to set $v = preg_replace("/'/", "'", $v); to preg_replace_callback