Show
Ignore:
Timestamp:
2007-12-22 14:05:48 (11 months ago)
Author:
fredck
Message:

Updated "latest" and "stable" branches with version 2.5.1.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • FCKeditor/releases/latest/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php

    r380 r1247  
    8383                for( $i = 0; $i < count( $textinputs ); $i++ ) { 
    8484                        $text = urldecode( $textinputs[$i] ); 
     85 
     86                        // Strip all tags for the text. (by FredCK - #339 / #681) 
     87                        $text = preg_replace( "/<[^>]+>/", " ", $text ) ; 
     88 
    8589                        $lines = explode( "\n", $text ); 
    8690                        fwrite ( $fh, "%\n" ); # exit terse mode 
     
    195199</html> 
    196200 
     201