From 5eac54650c020c2d5e32d10af262b67dbe98154e Mon Sep 17 00:00:00 2001 From: timriker Date: Tue, 18 Apr 2006 05:32:50 +0000 Subject: [PATCH] text.* git-svn-id: https://svn.code.sf.net/p/infobot/code/trunk/blootbot@1271 c11ca15a-4712-0410-83d8-924469b57eb5 --- src/Modules/wikipedia.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Modules/wikipedia.pl b/src/Modules/wikipedia.pl index 1a73e2e..9117b87 100644 --- a/src/Modules/wikipedia.pl +++ b/src/Modules/wikipedia.pl @@ -176,7 +176,7 @@ sub wikipedia_get_text { $redirect =~ tr/ /_/; &::DEBUG("wiki redirect to " . $redirect); last; - } elsif (/(.*)/) { + } elsif (/]*>(.*)/) { $text = '"' . $1; } elsif (/(.*)<\/text>/) { $text = $text . " " . $1 . '"'; -- 2.39.5