Committer: wisest-owl
LJSUP-14338: While adding load the image in the post, an error on the wrong formatU trunk/cgi-bin/LJ/Widget/EntryForm.pm
Modified: trunk/cgi-bin/LJ/Widget/EntryForm.pm =================================================================== --- trunk/cgi-bin/LJ/Widget/EntryForm.pm 2012-11-21 14:13:48 UTC (rev 23343) +++ trunk/cgi-bin/LJ/Widget/EntryForm.pm 2012-11-22 06:50:10 UTC (rev 23344) @@ -1742,7 +1742,7 @@ my $res = $photo ? { photo_desc => $photo->prop('description'), - photo_title => $photo->prop('title'), + photo_title => LJ::ehtml($photo->prop('title')), photo_url => $photo->image_url( 'size' => @photos > 1 ? 100 : 600 ), photo_id => $photo->photo_id_displayed, } : undef;