Skip to content

Commit 429c26a

Browse files
author
Marvin Kuhn
committed
fixed #2 can export text test passes on linux
1 parent 20f41f5 commit 429c26a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Converter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public function thumbnail(string $extension = 'jpg')
8888

8989
public function text()
9090
{
91-
return trim($this->content('txt'));
91+
return trim($this->content('txt'), "\t\n\r\0\x0B\u{FEFF}");
9292
}
9393

9494
public function save(string $path, string $extension = null): bool

0 commit comments

Comments
 (0)