joypixels / emojione

[Archived] The world's largest independent emoji font. Maintained at https://github.com/joypixels/emoji-toolkit.
https://www.joypixels.com
Other
4.46k stars 535 forks source link

Links get destroyed by "strtoupper($unicode = $m[0]);" #602

Closed Enaah closed 6 years ago

Enaah commented 6 years ago

Hi,

I'm using Laravel Emojione to use this Lib in my Laravel Application (Blog).

I'm rendering the whole Content-Part with this Statement:

{!! LaravelEmojiOne::toImage($post->content_html) !!}

Since Version 3.0 there is this line: https://github.com/emojione/emojione/blob/147c4070d4eda43e057c2331e2f5264f4b60bdf9/lib/php/src/Client.php#L455

Which takes some Attributes from the -Tage (for example the link) and makes it uppercase (and breaks it).

Why is this line needed? When I remove the "strtoupper" everything works fine.

akshaykolhapure995c commented 6 years ago

noticed

caseyahenson commented 6 years ago

This behavior is fixed in today's 3.1.7 release.