Make WordPress Core

Ticket #2634: thorn.diff

File thorn.diff, 474 bytes (added by skeltoac, 20 years ago)
  • wp-includes/functions-formatting.php

     
    4141                } else {
    4242                        $next = true;
    4343                }
    44                 $curl = preg_replace('/&([^#])(?![a-z1-4]{1,8};)/', '&$1', $curl);
     44                $curl = preg_replace('/&([^#])(?![a-zA-Z1-4]{1,8};)/', '&$1', $curl);
    4545                $output .= $curl;
    4646        }
    4747        return $output;