Make WordPress Core

Ticket #1301: idn-texturize.diff

File idn-texturize.diff, 560 bytes (added by kim, 19 years ago)
  • wp-includes/functions-formatting.php

     
    1212                        $curl = str_replace('---', '—', $curl);
    1313                        $curl = preg_replace('/(\s)--(\s)/', '$1—$2', $curl);
    1414                        $curl = str_replace('--', '–', $curl);
     15                        $curl = str_replace('xn–', 'xn--', $curl);
    1516                        $curl = str_replace('...', '…', $curl);
    1617                        $curl = str_replace('``', '“', $curl);
    1718