Fix str::html to be compatible with PHP 5.2

Updated the callback parameter passed to `preg_replace_callback` to be compatible with pre-5.3 versions of PHP.

Related to Issues #30 and #85