Make WordPress Core


Ignore:
Timestamp:
05/12/2009 10:51:24 PM (16 years ago)
Author:
markjaquith
Message:

Exclude <tt> from formatting. props JulienV. fixes #8321

File:
1 edited

Legend:

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

    r11245 r11313  
    5959            // regular expressions
    6060            $curl = preg_replace($dynamic_characters, $dynamic_replacements, $curl);
    61         } elseif (strpos($curl, '<code') !== false || strpos($curl, '<kbd') !== false || strpos($curl, '<style') !== false || strpos($curl, '<script') !== false) {
     61        } elseif (strpos($curl, '<tt') !== false || strpos($curl, '<code') !== false || strpos($curl, '<kbd') !== false || strpos($curl, '<style') !== false || strpos($curl, '<script') !== false) {
    6262            $next = false;
    6363        } elseif (strpos($curl, '<pre') !== false) {
Note: See TracChangeset for help on using the changeset viewer.