Changeset 235

Show
Ignore:
Timestamp:
01/31/06 19:25:18 (3 years ago)
Author:
ben
Message:

Weblog text processing now strips the font tag

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/units/weblogs/weblogs_text_process.php

    r138 r235  
    1212                $run_result = run("weblogs:html_activate_urls", $run_result); 
    1313                 
     14                // Remove the evil font tag 
     15                $run_result = preg_replace("/<font[^>]*>/i","",$run_result); 
     16                $run_result = preg_replace("/<\/font>/i","",$run_result); 
     17                 
    1418                // Text cutting 
     19                // Commented out for the moment as it seems to disproportionately increase 
     20                // memory usage / load 
    1521                 
     22                /* 
    1623                global $individual; 
    1724                 
     
    2330                        $run_result = str_replace("{{uncut}}","",$run_result); 
    2431                } 
     32                */ 
    2533 
    2634?>