Browse Source

Removed htmlentities() in lasttopic() cause it replaced < and > the &lt; &gt;
when there is a link in it

doomshammer 25 years ago
parent
commit
9f598857b8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      pisg.pl

+ 1 - 1
pisg.pl

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