[freeside-commits] freeside/httemplate/elements/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts spellchecker.pl, 1.1, 1.2
Mark Wells
mark at wavetail.420.am
Tue Mar 16 00:49:27 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-serv19732/fckeditor/editor/dialog/fck_spellerpages/spellerpages/server-scripts
Modified Files:
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.2
diff -u -w -d -r1.1 -r1.2
--- spellchecker.pl 1 Aug 2007 22:25:19 -0000 1.1
+++ spellchecker.pl 16 Mar 2010 07:49:25 -0000 1.2
@@ -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