--- C:/Users/uazjlb/Downloads/moodle-latest-26/moodle/lib/weblib.php	Thu Aug 07 16:54:41 2014
+++ C:/xampp/htdocs/moodle/lib/weblib.php	Thu Aug 07 16:46:54 2014
@@ -1950,6 +1950,11 @@
     // In the resulting string, Do the highlighting.
     $haystack = preg_replace($regexp, $prefix . '$1' . $suffix, $haystack);
 
+    // Remove number highlighting if in a placeholder
+    $numregex = '/(<\|<span class\=\"highlight\">)([0-9]+)(<\/span>)/';
+
+    $haystack = preg_replace($numregex, '<|$2', $haystack);
+
     // Turn the placeholders back into HTML tags.
     $haystack = str_replace(array_keys($placeholders), $placeholders, $haystack);
 
