Андрей (andy) wrote in changelog,
Андрей
andy
changelog

[livejournal] r17646: LJSV-1191 (Userpics that have double quo...

Committer: ailyin
LJSV-1191 (Userpics that have double quotations in the keywords do not appear when using 'full' commenting form)
U   trunk/cgi-bin/LJ/Talk.pm
Modified: trunk/cgi-bin/LJ/Talk.pm
===================================================================
--- trunk/cgi-bin/LJ/Talk.pm	2010-11-08 10:41:10 UTC (rev 17645)
+++ trunk/cgi-bin/LJ/Talk.pm	2010-11-08 11:14:51 UTC (rev 17646)
@@ -1641,8 +1641,8 @@
         foreach my $pickw (@pics) {
             push @pics_display,
                 {
-                'userpic_keyword'  => $pickw,
-                'userpic_title'    => $pickw,
+                'userpic_keyword'  => LJ::ehtml($pickw),
+                'userpic_title'    => LJ::ehtml($pickw),
                 'userpic_selected' => $pickw eq
                     $form->{'prop_picture_keyword'},
                 };

Tags: andy, livejournal, pm
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