Committer: vsukhanov
LJSUP-7961: Add ability to display default userpic of the userU trunk/cgi-bin/cleanhtml.pl
Modified: trunk/cgi-bin/cleanhtml.pl =================================================================== --- trunk/cgi-bin/cleanhtml.pl 2011-03-14 09:50:18 UTC (rev 18533) +++ trunk/cgi-bin/cleanhtml.pl 2011-03-14 10:03:33 UTC (rev 18534) @@ -411,7 +411,7 @@ ## <lj-userpic> - current journal's default userpic ## <lj-userpic remote> - remote user's default userpic ## <lj-userpic user="test"> - test's default userpic - if ($tag eq "lj-userpic" and $action{$tag} ne 'deny'){ + if ($tag eq "lj-userpic" and !$opts->{'textonly'} and $action{$tag} ne 'deny'){ my $u = ''; if ($attr->{user}){ $u = LJ::load_user($attr->{user});