Типа я (zilogic) wrote in changelog,
Типа я
zilogic
changelog

[livejournal] r21727: LJSV-2175: Music field on update page ca...

Committer: amyshkin
LJSV-2175: Music field on update page can't handle HTM
U   trunk/cgi-bin/LJ/S2.pm
Modified: trunk/cgi-bin/LJ/S2.pm
===================================================================
--- trunk/cgi-bin/LJ/S2.pm	2012-04-17 07:40:04 UTC (rev 21726)
+++ trunk/cgi-bin/LJ/S2.pm	2012-04-17 08:05:22 UTC (rev 21727)
@@ -1989,6 +1989,7 @@
     my $p = $arg->{'props'};
     if ($p->{'current_music'}) {
         $e->{'metadata'}->{'music'} = LJ::Setting::Music::format_current_music_string($p->{'current_music'});
+        LJ::CleanHTML::clean_subject(\$e->{'metadata'}->{'music'});
     }
     if (my $mid = $p->{'current_moodid'}) {
         my $theme = defined $arg->{'moodthemeid'} ? $arg->{'moodthemeid'} : $u->{'moodthemeid'};

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