Who knows?
The fixture represents data returned from the api, where it has been written in the following way: <em>t.</em>{emoji}<em>.t</em>.
Javascript gives the case 0 unicode sequence a string length of 5, so the second span starts at index 7 however, PHP's mb_* functions will give that sequence a length of 4. This means that spans are inserted at incorrect positions and leads to undefined offset errors.
Who knows? The fixture represents data returned from the api, where it has been written in the following way:
<em>t.</em>{emoji}<em>.t</em>
. Javascript gives the case 0 unicode sequence a string length of 5, so the second span starts at index 7 however, PHP's mb_* functions will give that sequence a length of 4. This means that spans are inserted at incorrect positions and leads toundefined offset
errors.