We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8bee227 commit 492f53cCopy full SHA for 492f53c
src/Renderer/Html/LineRenderer/Word.php
@@ -58,6 +58,7 @@ public function render(MbString $mbOld, MbString $mbNew): LineRendererInterface
58
// insert dummy HTML closure to make sure there are always
59
// the same amounts of HTML closures in $oldWords and $newWords
60
// thus, this should ensure that "wordGlues" works correctly
61
+ // @see https://github.com/jfcherng/php-diff/pull/25
62
foreach (ReverseIterator::fromArray($dummyDelIdxes) as $idx) {
63
\array_splice($oldWords, $idx, 0, [$dummyHtmlClosure]);
64
}
0 commit comments