Ticket #33787: 33787.diff
File 33787.diff, 457 bytes (added by , 5 years ago) |
---|
-
formatting.php
4527 4527 } 4528 4528 4529 4529 // Loosely match the Emoji Unicode range. 4530 $regex = '/ (&#x[2-3][0-9a-f]{3};|[1-6][0-9a-f]{2};)/';4530 $regex = '/&#x(e[0-9a-f][0-9a-f][0-9a-f]|f[0-8][0-9a-f][0-9a-f])/i'; 4531 4531 4532 4532 $matches = array(); 4533 4533 if ( preg_match_all( $regex, $content, $matches ) ) {