[freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts spellchecker.pl, 1.1, 1.1.6.1

Mark Wells mark at wavetail.420.am
Tue Mar 16 01:34:54 PDT 2010


Update of /home/cvs/cvsroot/freeside/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts
In directory wavetail.420.am:/tmp/cvs-serv23603/editor/dialog/fck_spellerpages/spellerpages/server-scripts

Modified Files:
      Tag: FREESIDE_1_9_BRANCH
	spellchecker.pl 
Log Message:
FCKeditor 2.6.6

Index: spellchecker.pl
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts/spellchecker.pl,v
retrieving revision 1.1
retrieving revision 1.1.6.1
diff -u -w -d -r1.1 -r1.1.6.1
--- spellchecker.pl	1 Aug 2007 22:25:19 -0000	1.1
+++ spellchecker.pl	16 Mar 2010 08:34:52 -0000	1.1.6.1
@@ -58,6 +58,8 @@
 	# open temp file, add the submitted text.
 	for( my $i = 0; $i <= $#textinputs; $i++ ) {
 		$text = url_decode( $textinputs[$i] );
+		# Strip all tags for the text. (by FredCK - #339 / #681)
+		$text =~ s/<[^>]+>/ /g;
 		@lines = split( /\n/, $text );
 		print $fh "\%\n"; # exit terse mode
 		print $fh "^$input_separator\n";
@@ -177,4 +179,3 @@
 </body>
 </html>
 EOF
-



More information about the freeside-commits mailing list