mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2025-01-19 02:56:15 +00:00
Merge pull request #945 from aleho/2.3
Use bytcode sequence for unicode ellipsis Fixes #3356
This commit is contained in:
commit
7e00be8f76
1 changed files with 1 additions and 1 deletions
|
@ -479,7 +479,7 @@ class String {
|
|||
if (isset($options['ending'])) {
|
||||
$default['ellipsis'] = $options['ending'];
|
||||
} elseif (!empty($options['html']) && Configure::read('App.encoding') == 'UTF-8') {
|
||||
$default['ellipsis'] = chr(226);
|
||||
$default['ellipsis'] = "\xE2\x80\xA6";
|
||||
}
|
||||
$options = array_merge($default, $options);
|
||||
extract($options);
|
||||
|
|
Loading…
Add table
Reference in a new issue