diff options
Diffstat (limited to 'includes/normal/RandomTest.php')
-rw-r--r-- | includes/normal/RandomTest.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/normal/RandomTest.php b/includes/normal/RandomTest.php index b86ab7c3..9ccbc01d 100644 --- a/includes/normal/RandomTest.php +++ b/includes/normal/RandomTest.php @@ -22,7 +22,7 @@ * UtfNormal::cleanUp() code paths, and checks to see if there's a * difference. Will run forever until it finds one or you kill it. * - * @package UtfNormal + * @addtogroup UtfNormal * @access private */ @@ -69,7 +69,7 @@ function showDiffs( $a, $b ) { $formatter = new TableDiffFormatter(); $funky = $formatter->format( $diffs ); $matches = array(); - preg_match_all( '/<span class="diffchange">(.*?)<\/span>/', $funky, $matches ); + preg_match_all( '/<(?:ins|del) class="diffchange">(.*?)<\/(?:ins|del)>/', $funky, $matches ); foreach( $matches[1] as $bit ) { $hex = bin2hex( $bit ); echo "\t$hex\n"; |