Make WordPress Core

Changeset 875


Ignore:
Timestamp:
02/16/2004 03:02:25 AM (21 years ago)
Author:
saxmatt
Message:

Texturize tweak.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions-formatting.php

    r868 r875  
    77    for ($i = 0; $i < $stop; $i++) {
    88        $curl = $textarr[$i];
    9         if (!strstr($_SERVER['HTTP_USER_AGENT'], 'Gecko')) {
    10             $curl = str_replace('<q>', '&#8220;', $curl);
    11             $curl = str_replace('</q>', '&#8221;', $curl);
    12         }
     9
    1310        if (isset($curl{0}) && '<' != $curl{0} && $next) { // If it's not a tag
    1411            $curl = str_replace('---', '&#8212;', $curl);
Note: See TracChangeset for help on using the changeset viewer.