projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website]
/
web
/
core
/
lib
/
Drupal
/
Component
/
Diff
/
WordLevelDiff.php
diff --git
a/web/core/lib/Drupal/Component/Diff/WordLevelDiff.php
b/web/core/lib/Drupal/Component/Diff/WordLevelDiff.php
index a8c2f80f256ecc770c3131c5af362d0458a1802e..66c6e1a90f2c7c7b4fdddfc4bb8290b790eef450 100644
(file)
--- a/
web/core/lib/Drupal/Component/Diff/WordLevelDiff.php
+++ b/
web/core/lib/Drupal/Component/Diff/WordLevelDiff.php
@@
-3,7
+3,6
@@
namespace Drupal\Component\Diff;
use Drupal\Component\Diff\Engine\HWLDFWordAccumulator;
namespace Drupal\Component\Diff;
use Drupal\Component\Diff\Engine\HWLDFWordAccumulator;
-use Drupal\Component\Utility\Unicode;
/**
* @todo document
/**
* @todo document
@@
-35,7
+34,7
@@
class WordLevelDiff extends MappedDiff {
$words[] = "\n";
$stripped[] = "\n";
}
$words[] = "\n";
$stripped[] = "\n";
}
- if (
Unicode::
strlen($line) > $this::MAX_LINE_LENGTH) {
+ if (
mb_
strlen($line) > $this::MAX_LINE_LENGTH) {
$words[] = $line;
$stripped[] = $line;
}
$words[] = $line;
$stripped[] = $line;
}