Skip to content

Commit

Permalink
Merge branch 'master' of git://github.com/petrkalivoda/horde into pet…
Browse files Browse the repository at this point in the history
…rkalivoda-master
  • Loading branch information
yunosh committed Jun 11, 2014
2 parents 531dd6e + 66c12e2 commit 36f670e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Text_Diff/lib/Horde/Text/Diff/Renderer/Inline.php
Expand Up @@ -146,8 +146,8 @@ protected function _changed($orig, $final)

if ($this->_split_characters) {
$diff = new Horde_Text_Diff('native',
array(preg_split('//', $text1),
preg_split('//', $text2)));
array(preg_split('//u', $text1),
preg_split('//u', $text2)));
} else {
/* We want to split on word boundaries, but we need to preserve
* whitespace as well. Therefore we split on words, but include
Expand Down

0 comments on commit 36f670e

Please sign in to comment.