namespace Drupal\Component\Diff\Engine;
-use Drupal\Component\Utility\Unicode;
-
/**
* Additions by Axel Boldt follow, partly taken from diff.php, phpwiki-1.3.3
*/
}
if ($word[0] == "\n") {
$this->_flushLine($tag);
- $word = Unicode::substr($word, 1);
+ $word = mb_substr($word, 1);
}
assert(!strstr($word, "\n"));
$this->group .= $word;