Skip to content

Commit 3f61cb4

Browse files
committed
use Utf8\phpString::strlen()
1 parent 22a33cc commit 3f61cb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

action/editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ public function build_table($data, $meta) {
153153
// find maximum column widths
154154
for($row = 0; $row < $rows; $row++) {
155155
for($col = 0; $col < $cols; $col++) {
156-
$len = utf8_strlen($data[$row][$col]);
156+
$len = dokuwiki\Utf8\PhpString::strlen($data[$row][$col]);
157157

158158
// alignment adds padding
159159
if($meta[$row][$col]['align'] == 'center') {

0 commit comments

Comments
 (0)