Ticket #681: 681_php.patch
File 681_php.patch, 754 bytes (added by , 16 years ago) |
---|
-
editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.php
82 82 if( $fh = fopen( $tempfile, 'w' )) { 83 83 for( $i = 0; $i < count( $textinputs ); $i++ ) { 84 84 $text = urldecode( $textinputs[$i] ); 85 86 // Strip all tags for the text. (by FredCK - #339 / #681) 87 $text = preg_replace( "/<[^>]+>/", " ", $text ) ; 88 85 89 $lines = explode( "\n", $text ); 86 90 fwrite ( $fh, "%\n" ); # exit terse mode 87 91 fwrite ( $fh, "^$input_separator\n" );