[Pyukiwiki-cvs 0006525] CVS update: PyukiWiki-Devel/lib

Zurück zum Archiv-Index

PyukiWiki CVS Commit pyuki****@lists*****
2012年 2月 20日 (月) 02:39:48 JST


Index: PyukiWiki-Devel/lib/wiki.cgi
diff -u PyukiWiki-Devel/lib/wiki.cgi:1.657 PyukiWiki-Devel/lib/wiki.cgi:1.658
--- PyukiWiki-Devel/lib/wiki.cgi:1.657	Mon Feb 20 02:03:06 2012
+++ PyukiWiki-Devel/lib/wiki.cgi	Mon Feb 20 02:39:48 2012
@@ -1,6 +1,6 @@
 ######################################################################
 # wiki.cgi - This is PyukiWiki, yet another Wiki clone.
-# $Id: wiki.cgi,v 1.657 2012/02/19 17:03:06 papu Exp $
+# $Id: wiki.cgi,v 1.658 2012/02/19 17:39:48 papu Exp $
 #
 # "PyukiWiki" version 0.2.0-p2-preview3 $$
 # Copyright (C) 2004-2012 Nekyo
@@ -2620,7 +2620,7 @@
 	my $searchcount=0;#nocompact
 	if(&load_module("Nana::Search")) {#nocompact
 		foreach(@wd) {#nocompact
-			next if($_ eq '');
+			next if($_ eq '' || $_=~/[\x21-\x2f]/);
 			$text=Nana::Search::SearchRe(#nocompact
 				$text, $_	#nocompact
 			, '<strong class="word' . $searchcount . '">'	#nocompact



Pyukiwiki-cvs メーリングリストの案内
Zurück zum Archiv-Index