wisest owl (wisest_owl) wrote in changelog,
wisest owl
wisest_owl
changelog

[livejournal] r23344: LJSUP-14338: While adding load the image...

Committer: wisest-owl
LJSUP-14338: While adding load the image in the post, an error on the wrong format

U   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;

Tags: livejournal, pm, wisest-owl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments