Committer: wisest-owl
iLJSUP-14447: Wrong spoiler and cut placeholder textU trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl =================================================================== --- trunk/cgi-bin/cleanhtml.pl 2012-12-11 07:14:19 UTC (rev 23449) +++ trunk/cgi-bin/cleanhtml.pl 2012-12-11 09:00:59 UTC (rev 23450) @@ -739,7 +739,7 @@ my $link_text = sub { my $text = LJ::Lang::ml('fcklang.readmore'); $text = Encode::decode_utf8($text) if $text; - if ($attr->{'text'}) { + if (exists $attr->{'text'} && length $attr->{'text'}) { $text = $attr->{'text'}; $text =~ s/</</g; $text =~ s/>/>/g;