mirror of
https://github.com/Combodo/iTop.git
synced 2026-04-20 17:18:51 +02:00
HTML to Text conversion not working if mb_string not present (verb mb_split)
SVN:trunk[3993]
This commit is contained in:
@@ -1,6 +1,13 @@
|
||||
<?php
|
||||
namespace Html2Text;
|
||||
|
||||
if (!function_exists('mb_split'))
|
||||
{
|
||||
function mb_split($pattern, $subject, $limit = -1)
|
||||
{
|
||||
return preg_split('/'.$pattern.'/', $subject, $limit);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Replace all occurrences of the search string with the replacement string.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user