Преглед изворни кода

Topics should have been stripped for mirccodes

doomshammer пре 25 година
родитељ
комит
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/;