Просмотр исходного кода

Topics should have been stripped for mirccodes

doomshammer 25 лет назад
Родитель
Сommit
08c74f66fa
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      pisg.pl

+ 1 - 1
pisg.pl

@@ -2156,7 +2156,7 @@ sub lasttopics
         if ($ltopic > $conf->{topichistory}) { $tlimit = $ltopic - $conf->{topichistory}; }
 
         for (my $i = $ltopic; $i >= $tlimit; $i--) {
-            $topics[$i]{"topic"} = htmlentities($topics[$i]{"topic"});
+            $topics[$i]{"topic"} = htmlentities(strip_mirccodes($topics[$i]{"topic"}));
             my $topic = replace_links($topics[$i]{topic});
             # Strip off the quotes (')
             $topic =~ s/^\'(.*)\'$/$1/;